#Examples for glint package for node
Before you will run examples you must install dependencies via:
npm install
##List of examples:
- expressjs - expressjs application with plain html template
- expressjs-jade-view - expressjs application with jade template
To run any example you must:
- go to example directory:
cd expressjs
- generate packages:
../node_modules/.bin/glint --config clientlibs/config.js
- run server:
node server.js
-
visit
http://localhost:3000/
to see result (checkout console to check if javascript files also were loaded) -
add
?debugGlintAssets=true
to url (http://localhost:3000/?debugGlintAssets=true
) to switch to dev mode - you will see that all files are now served separately.