universe / vapid

Vapid is an intentionally simple content management system built on the idea that you can create a custom dashboard without ever leaving the HTML.
https://www.vapid.com
MIT License
0 stars 1 forks source link

feat: Page templates. #1

Closed amiller-gh closed 4 years ago

amiller-gh commented 4 years ago

Began implementing https://github.com/vapid/vapid/issues/158 here so we can play with it and get a feel for the new data model features 🙂

Data Model Updates

Template Parser Updates

Dashboard Updates

Came up with an idea as I was working here: What if we allow {{#collection this.name as |value|}} (note: this.name instead of name). This would make a page-specific collection. It won't be shared between other pages and will show up as a direct child of the page in the dashboard. Essentially, each page instance will get a private collection to reference.

amiller-gh commented 4 years ago

Closing in favor of https://github.com/amiller-gh/vapid/pull/2