vue-cli-plugin-tailwind-rollup-esm-component
v0.0.8
Published
Vue CLI 3.0 plugin (with Tailwind, PurgeCSS and Rollup) to use as a component starter
Downloads
452
Maintainers
Readme
Vue CLI Plugin: Tailwind / Rollup ESM Component (Starter)
Features
- Tailwind
- Allows Tailwind syntax to be used in component styles via
shadowLookup
experiment setting in tailwind config.
- PurgeCSS
- Runs only in
build
. Let's all Tailwind classes load for theserve
so that all the classes will be available during development. Useful for allowing the developer add / change classes via Web Inspector on the fly.
- Rollup Bundler
- To bundle components as ESM.
How to use?
- Prompt will ask for the component name in PascalCase (example: MyComponent or SOMEComponent)
ToDo
- Make sure this plugin can be invokable repeadetly (ie dont add multiple import statements in App.vue)
- Make sure dist added in npm and .gitrepo is not when published
- Fix dist name with a prefix (ie. should be bsu-overlay not bsuoverlay)