Generated DoneJS app & plugin file structure
See original GitHub issueThe DoneJS app and plugin generators include components in src/
but models go into their own src/models/
folder. I think it’d be better if the components were put into a src/components/
folder.
This issue is intended to be a discussion place for any file structure bikeshedding that we should argue over before DoneJS 1.0 is released.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Quick start guide - DoneJS
Generate custom elements We'll use a DoneJS generator to create custom components. The component generator is run by typing donejs add component <file-or- ......
Read more >generator-donejs - npm
Generates a new plugin project. This is useful for creating DoneJS plugins or any open-source project that uses StealJS and the modlet pattern....
Read more >donejs - Features - GitHub Pages
DoneJS offers everything you need to build a modern web app. It comes with a module loader, build system, MVVM utilities, full testing...
Read more >March 2017 DoneJS Community Update - Bitovi
Brad Momberger made an awesome Glitch Hello World for DoneJS template. ... Generated DoneJS app & plugin file structure · RFP: Templating in ......
Read more >Build A Plugin System — Node.js | Medium
json file in the same directory as your code. Finally, we'll create an instance of the plugin in our app. Import the Plugins...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can we also change the
<component>.html
file name todemo.html
, to go along withtest.html
You can do nested components with generator-donejs already. We do this in the PMO guide:
donejs add component restaurant/list pmo-restaurant-list
created a nested component. The change proposed in this issue is putting them incomponents/
so the nested version would becomponents/restaurant/list
cc @adrifolio @Alfredo-Delgado