roxi-plugin-tailwindcss v1.2.4
Setting-up Tailwindcss to a new Roxi project is a bit time consuming.
So, I have created a node package cli script to setup Tailwindcss to a brand new Roxi in one command.
How to Use
After creating a brand new Roxi project with npx roxi create my-new-app && cd my-new-app
In my-new-app directory, just run
npx roxi-plugin-tailwindcss
It will install all dependencies,
create tailwind.config.js + postcss.config.js,
create ./src/tailiwind.css,
and inject import './tailwind.css'; to the App.svelte automatically.
Then you can use the Tailwindcss classes in .svelte files.
This config adds autoprefixer + cssnano to the PostCSS plugins, and also enables purgecss function of Tailwindcss when npm run build.
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago