Bunch of changes for v2 #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v2-changes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The main changes are a simplification of the file naming conventions in the
routes/folder:+<method>.jswhere<method>is any HTTP method+middleware.js_template.<ext>files are used byresponse.render()only to generate HTML responses*.vto) and Markdown files (*.md) are postprocessed into HTML, and the file extension is excluded from route-matchingMarkdown rendering is now done with markdown-it.
HMR works much better now. It is no longer enabled using
NODE_ENV, but must be explicitly enabled with the--dev-hmrCLI option.The new
grackle docscommand serves the bundled docs in a local server.