vue-cli-plugin-tailwind
vue-cli-plugin-tailwind
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.jsfile where you can define your customizations. - full - Will generate a
tailwind.config.jsfile 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
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 3.0.0 | MIT | |
| 2.2.18 | MIT | |
| 2.2.17 | MIT | |
| 2.0.6 | MIT | |
| 2.0.5 | MIT | |
| 2.0.4 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.5.0 | MIT | |
| 1.4.2 | MIT | |
| 1.4.1 | MIT | |
| 1.4.0 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.4.3 | MIT | |
| 0.4.2 | MIT | |
| 0.4.1 | MIT | |
| 0.4.0 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT | |
| 0.3.0 | MIT | |
| 0.2.0 | MIT | |
| 0.1.1 | MIT | |
| 0.1.0 | MIT |
Pre-releases (6)
| Version | Released | License |
|---|---|---|
| 3.0.0-beta.0 | MIT | |
| 2.0.6-beta.2 | MIT | |
| 2.0.6-beta.1 | MIT | |
| 1.0.0-beta.4 | MIT | |
| 1.0.0-beta.3 | MIT | |
| 1.0.0-beta.1 | MIT |