Vanilla Javascript

For those who like old school templating with vanilla CSS and jQuery


JS: set by default

$ node-rails settings js

Vanilla Javascript with jQuery

The pain and joys of vanilla javascript

Each page has it's own assets for javascript and you can your own javascript using jQuery or any other npm package that you would like to import into your javascript. Each page file has it's own assets and is bundle with webpack for all of the packages that you add. Your server side storage is in window.STORAGE

Templating for HTML

Your templates are in the views directory. In pages is where each view is fopr the route. The errors are in the error directory and the docs are separate. You can create your own directories outside of these directories to setup your templating.