Build static pages with your Tailwind CSS and JavaScript embedded
- Tailwind CSS - A utility-first CSS framework for rapid UI development
- HTML Includes - HTML compilation with partial includes and minification
- Servor - A dependency-free dev server for modern web application development
- Embedded Tailwind CSS within
<style>
- HTML Includes with the ability to pass parameters + nesting
- e.g.
<script>${require('./_scripts.js')}</script>
- e.g.
- Dev server with Watch suppport
- Minify all the things (HTML/CSS/JS) into one single HTML file on build
npm install
npm run serve
Open your page on localhost:8080.
npm run build
dist
is destroyed and recreated fromsrc
on each build/serve- Image and binary files will only be copied from
src
todist
on each build/serve (no Watch support) - Files in
src
starting with an_
underscore) will not be copied todist