TailwindCSS Static Starter - Develop static sites quickly with tailwindcss.
- Install Dev Depedencies
npm install
- To start development and server for live preview
npm run dev
- To generate minifed files for production server
npm run prod
To change the path of files and destination/build folder, edit options in config.js file
{
config: {
...
port: 9050 // browser preview port
},
paths: {
root: "./",
src: {
base: "./src",
css: "./src/css",
js: "./src/js",
img: "./src/img"
},
dist: {
base: "./dist",
css: "./dist/css",
js: "./dist/js",
img: "./dist/img"
},
build: {
base: "./build",
css: "./build/css",
js: "./build/js",
img: "./build/img"
}
}
...
}
This boilerplate repo was derrived from gulp-with-tailwindcss starter.
- Components
- Enabled Partials