Rendering Data
How to render data
Every new user will receive the data inside your app/data/bootstrap.json
file. You can use this to start them off with some demo data they can edit right away.
All the data for each user is in the file app/data/database/user-app-data/{username}.json
, where {username}
is the name of the user.
You can modify the JSON data in this user file to edit what's displayed by your application.
Read the official Templating docs to learn more about all the template variables you can access.
Handlebars.js
Remake uses Handlebars.js to render every layout, page, and partial template. All templates are server-rendered.
Read the official Handlebars.js documentation to learn more about how render data in templates.
View on GitHub