README
Vinli-ui
This is a collection of common Vinli Ember Components. Components are grouped roughly by use into in-repo addons within the Vinli UI addon.
Installation
git clone
this repositoryyarn install
npm test
Running
ember server
- Visit your app at http://localhost:4200.
- Notice the different routes for each in-repo addon
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
New Addons
Creating
e g in-repo-addon {addon name}
Generating Items in the Addon
e g {item} {item name} --in-repo-addon {addon name}
Adding to Dummy App
- Add a route matching the addon name in
tests/dummy/app/router.js
, i.e.this.route('{addon name}');
- Add a link to the addon's route in
tests/dummy/app/templates/index.hbs
- Add
tests/dummy/app/templates/{addon name}.hbs
demoing the addon. If Routes or Controllers are needed, those may be added as well.