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
distis destroyed and recreated fromsrcon each build/serve- Image and binary files will only be copied from
srctodiston each build/serve (no Watch support) - Files in
srcstarting with an_underscore) will not be copied todist