vue-cli-plugin-tailwind-rollup-esm-component

0.0.8 • Public • Published

Vue CLI Plugin: Tailwind / Rollup ESM Component (Starter)

Features

  1. Tailwind
  • Allows Tailwind syntax to be used in component styles via shadowLookup experiment setting in tailwind config.
  1. PurgeCSS
  • Runs only in build. Let's all Tailwind classes load for the serve so that all the classes will be available during development. Useful for allowing the developer add / change classes via Web Inspector on the fly.
  1. 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)

Package Sidebar

Install

npm i vue-cli-plugin-tailwind-rollup-esm-component

Weekly Downloads

59

Version

0.0.8

License

MIT

Unpacked Size

36.8 kB

Total Files

16

Last publish

Collaborators

  • kemalcany