0.0.1 • Published 2 years ago

tailejs v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Taile.js

Quick Tailwind CSS and EJS view engine page design.

Install

Clone this repository, and run:

npm install -g

Or you can use it locally:

npm install
npm run tailejs -- <command>

Usage

Start with live server:

tailejs start <viewPath>

Build css for production:

tailejs build <viewPath>

Route

File system routing

  • /index.ejs -> /
  • /abc/def.ejs -> /abc/def
  • /_foo/_bar.ejs -> /:foo/:bar
  • /_id.html.ejs -> /:id.html

License

MIT