1.0.3 • Published 4 years ago
routify-tailwindcss v1.0.3
To create a brand new Routify starter theme with Tailwindcss setup
Just run this command in an empty directory.
npx @roxi/routify init && npx routify-tailwindcss
Then you can dev with npm run dev:nollup
and build with npm run build
.
PS: Tailwindcss purgecss is enabled for you.
To install Tailwindcss to an existing project
Because this script will replace your existing rollup.config.js
.
Backup the content in your rollup.config.js, after running the command below you can later insert back some codes from your old rollup.config.js in case you edited it in the past.
This command will make Tailwindcss work with the existing routify project.
Run this in the project root directory.
npx routify-tailwindcss
Create a brand new Routify2 project with Tailwindcss setup in just one line
In an empty directory, run this command.
npx @roxi/routify init --branch 2.x && npx routify-tailwindcss