enduro_website
enduro_website copied to clipboard
generator page problem
I create cms/generators/foos/
, there are some variables in template files, but when I add new pages from the admin UI, the content of new page is empty, like this
So how can i solve that?
Hey @halsn , Could you share the contents of cms/generators/foos/test-page.js
? What would you expect to see at the admin page you took screenshot of?
Generators are basically the same pages with different data, but markup/template is the same.
Check this sample out https://github.com/Gottwik/enduro_samples/tree/master/generators