Skip to content

How to register the plugin in Nuxt 3 app? #91

@idesignzone

Description

@idesignzone

version

3.0.1

Link to minimal reproduction

https://github.com/sonofmagic/tailwindcss-mangle/tree/main/apps/nuxt-app

Steps to reproduce

How to register the plugin in Nuxt 3 app?

As described in Docs "unplugin-tailwindcss-mangle/nuxt" does not exist in the module.
In the demo apps, under Nuxt app import of "unplugin-tailwindcss-mangle/nuxt" is commented so how do we register this plugin?

After following necessary steps no classes are obfuscated!

What is expected?

Classes to be obfuscated.

What is actually happening?

Classes are not obfuscated because plugin is not registered in Nuxt.

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions