css template generator,GitHub - zhaopengme/stitches-template-generator: A web templates generator wi...

Stitches

A simple, fast web app to generate html based on a collection of commonly used user interface patterns.

81f1f00d6dcdd9e241fccda483b314d9.png

Running it locally

cd into Stitches directory.

npm install

Run Browserify to bundle all node modules.

browserify main.js -o bundle.js

Recompile tailwind css.

npx tailwind build stitches.css -c ./tailwind.config.js -o ./output.css

Make your own templates

Feel free to take this project and re-factor to your need! Not everyone wants these templates for their projects. Here are the steps:

Run the project locally (see the section above)

Use 200 ok to run the repo in browser (because file download requires http).

Add your own HTML template (with tailwind.css classes) into the templates folder

Add a filter button for it in the index.html. (i.e. add Tabs)

Done! refresh to check out your own templates.

Contributing to the repo

Read and follow the Contributing guideline here. Thanks!

License