Gulp with TailwindCSS Starter Kit - A repo which makes your development easier with predefined gulp tasks that help you to use tailwindcss with simple npm commands
- Install Dev Depedencies
npm install
- To start development and server for live preview
npm run dev
- To generate minifed files for live server
npm run build
Please follow the this tailwind documentation to include fonts to tailwind config file and just link using <link>
tag
To change the path of files and destination/build folder, edit options in package.json file
"options": {
...
"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": "./dist",
"css": "./dist/css",
"js": "./dist/js",
"img": "./dist/img"
},
}
...
}