Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fields for example #97

Merged
merged 1 commit into from Jan 4, 2017
Merged

Update fields for example #97

merged 1 commit into from Jan 4, 2017

Conversation

JoeChapman
Copy link
Contributor

@JoeChapman JoeChapman commented Jan 3, 2017

  • update helper to find fields from apps/${name}/fields.js if fields not set on route
  • amend readme for changes to fields
  • amend example, remove fields and view false override

Closes #91

- `fields`: Location of the common fields relative to the root of your project. Defaults to `__dirname + '/fields'`.
- Will not error if it can't find any views in the root of your project.

- Views extend like so, where route-views are the most specific: `hot-template-partials -> your-common-views -> your-route-views`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 template partials? 🚑

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hot template partials IN YOUR AREA!

@joefitter
Copy link
Contributor

LGTM other than the 🔥

- update helper to find fields from apps/${name}/fields.js if fields not set on route
- amend readme for changes to fields
- amend example, remove fields and view false override
@JoeChapman JoeChapman merged commit 219785d into master Jan 4, 2017
@JoeChapman JoeChapman deleted the fix-example branch January 4, 2017 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants