Bakhtina Sofya b84cb877be 1st comm před 2 týdny
..
generator b84cb877be 1st comm před 2 týdny
LICENSE b84cb877be 1st comm před 2 týdny
README.md b84cb877be 1st comm před 2 týdny
index.js b84cb877be 1st comm před 2 týdny
logo.png b84cb877be 1st comm před 2 týdny
package.json b84cb877be 1st comm před 2 týdny
prompts.js b84cb877be 1st comm před 2 týdny

README.md

vue-cli-plugin-tailwind

Tailwind CSS License

A plugin that adds Tailwind CSS to your vue-cli project.

Getting started

Inside your vue-cli project folder add the plugin via:

vue add tailwind

Choose what Tailwind config you want to generate:

  • none - Won't create a config file. Useful if you already have a config (make sure to configure PurgeCSS).
  • minimal (default) - Will create a minimal tailwind.config.js file where you can define your customizations.
  • full - Will generate a tailwind.config.js file containing the entire default configuration.

See Tailwinds configuration guide for more info.

PostCSS Configuration

Tailwind CSS will be added as plugins in your PostCSS config.

// postcss.config.js
module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
};

License

MIT