alan2207 / tailwindcss-static-starter

TailwindCSS Static Starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TailwindCSS Static Starter

TailwindCSS Static Starter - Develop static sites quickly with tailwindcss.

Usage

  1. Install Dev Depedencies
npm install
  1. To start development and server for live preview
npm run dev
  1. To generate minifed files for production server
npm run prod

Configuration

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"
     }
  }
  ...
}

Info

This boilerplate repo was derrived from gulp-with-tailwindcss starter.

Additions to the original repo:

About

TailwindCSS Static Starter


Languages

Language:HTML 82.2%Language:JavaScript 17.6%Language:SCSS 0.2%