Bakhtina Sofya b84cb877be 1st comm | 3 viikkoa sitten | |
---|---|---|
.. | ||
generator | 3 viikkoa sitten | |
LICENSE | 3 viikkoa sitten | |
README.md | 3 viikkoa sitten | |
index.js | 3 viikkoa sitten | |
logo.png | 3 viikkoa sitten | |
package.json | 3 viikkoa sitten | |
prompts.js | 3 viikkoa sitten |
A plugin that adds Tailwind CSS to your vue-cli project.
Inside your vue-cli project folder add the plugin via:
vue add tailwind
Choose what Tailwind config you want to generate:
tailwind.config.js
file where you can define your customizations.tailwind.config.js
file containing the entire default configuration.See Tailwinds configuration guide for more info.
Tailwind CSS will be added as plugins in your PostCSS config.
// postcss.config.js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};