dataloops - nonlinear/canvas GitHub Wiki
Nunjucks automatically merges any .json file on app/data folder into a generated one.
Page reloads automatically if any app/data/*.json file is edited. To create a new .json file, turn gulp off and on again so new file is recognized recognized.
It fails gracefully: Any file with incorrect syntax is discarded in the generated one, with an error notification.
Editable JSON files
about.json: your project name, URL, author and google analytics
Dedicated JSON files (using dataloops)
countries.json: list of countries with codedepartments.json: sample industry departmentsindustries.json: sample industries, for prototypinglanguages.json: list of all languages, with code and native namemonths.json: all 12 months. why repeat yourself?states.json: US states, with codessummer-sports.json: winter olympics sportstalks.json: sample conversations, for prototypingusers.json: sample users, for prototypingwinter-sports.json: summer olympics sportsyears.json: list of years, from 1960 to 2017
Snippets
Use loop snippet for a basic loop, learn more on nunjucks documentation