question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated DoneJS app & plugin file structure

See original GitHub issue

The 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:open
  • Created 7 years ago
  • Reactions:1
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

6reactions
mjstahlcommented, Mar 3, 2017

Can we also change the <component>.html file name to demo.html, to go along with test.html

4reactions
matthewpcommented, Mar 3, 2017

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 in components/ so the nested version would be components/restaurant/list cc @adrifolio @Alfredo-Delgado

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found