1.0.36 • Published 9 years ago
ember-vcl-build-demo v1.0.36
Ember VCL Build Demo
The build-demo
package creates demo apps for Ember VCL components
It can be used for testing/development of an individual component.
Usage
How to build a demo for a component
- Checkout the component
- Run
npm install
- Run
npm test
If everything is fine, a new browser window will be opened at http://localhost:3333 showing the component demo.
For example, the navigation component:
git clone https://github.com/ember-vcl/navigation.git
cd navigation
npm install
npm test
How add demo for an existing component w/o one
- Add the
build-demo
package as a dependency into the component'spackage.json
- Define
npm test
command in package.json as"test": "cd tmp && gulp watch"
- Create a folder called
demo
in the component's root folder - Create a folder called
example
in thedemo
folder - Create two files:
application.js
andapplication.hbs
. Theapplication.js
must export an Ember controller and the application.hbs should contain the application template - Commit the changes and create a release
Now you can build the demo according to the How to build a demo for a component
Demo
See instructions how to run a demo app
License
1.0.36
9 years ago
1.0.33
9 years ago
1.0.32
9 years ago
1.0.31
9 years ago
1.0.30
9 years ago
1.0.29
9 years ago
1.0.28
9 years ago
1.0.27
9 years ago
1.0.26
9 years ago
1.0.25
9 years ago
1.0.24
9 years ago
1.0.23
9 years ago
1.0.22
9 years ago
1.0.21
9 years ago
1.0.20
9 years ago
1.0.19
9 years ago
1.0.16
9 years ago
1.0.15
9 years ago
1.0.14
9 years ago
1.0.13
9 years ago
1.0.12
9 years ago
1.0.11
9 years ago
1.0.10
9 years ago
1.0.9
9 years ago
1.0.8
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.2
9 years ago