demo-gulp Tailwind Templates

Demo Gulp

Demo gulpfile.js using Gulp, PostCSS, Tailwind CSS, Pino, unfold, and more

Demo Gulp

Setup:

git clone https://github.com/joelparkerhenderson/demo_gulp.git
cd demo_gulp
./setup

The setup script installs modules that the demo uses:

npm install --save-dev gulp-cli
npm install --save-dev gulp
npm install --save-dev gulp-concat
npm install --save-dev gulp-mustache
npm install --save-dev gulp-postcss
npm install --save-dev tailwindcss
npm install --save-dev autoprefixer
npm install --save-dev pino

The clearest way to see wha the demo does is to read the gulpfile.js

Usage

Copy HTML files from src/html to dist/html:

npx gulp html

Copy image files from src/assets/images to dist/assets/images:

npx gulp images

Process style files via Tailwind CSS from src/assets/styles to dist/assets/styles:

npx gulp styles

Process template files via Mustache JS from src/templates to dist/templates:

npx gulp templates

Top categories

Loading Svelte Themes