donejs / donejs/generator-donejs

Generate a top-level <project-name> component and put it in index.stache

Open
#269 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
JavaScript
Stars
9
Forks
7
PR merge metrics
No merged PRs in 30d

Description

__Description:__

For a newly generated application we should do the following:
1. Generate a `/components/` component.
2. Place this `` component in the `index.stache` instead of a `

`.

This occurred after conversations about a client project.

The `app.js` should only be responsible for three things:
1. Rendering the appropriate application entry, whether that be the application itself (when their is a session), or a log in page, or something else the application may need.
2. Manage the route
3. Acquire and manage the session of the application.

With this addition an `index.stache` might look like:

```handlebars


{{title}}





{{/if}}
--}}
...
```

Or something like that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.