0.0.8 • Published 6 years ago

vue-cli-plugin-tailwind-rollup-esm-component v0.0.8

Weekly downloads
320
License
MIT
Repository
github
Last release
6 years ago

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)