1.0.36 • Published 10 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
10 years ago
1.0.33
10 years ago
1.0.32
10 years ago
1.0.31
10 years ago
1.0.30
10 years ago
1.0.29
10 years ago
1.0.28
10 years ago
1.0.27
10 years ago
1.0.26
10 years ago
1.0.25
10 years ago
1.0.24
10 years ago
1.0.23
10 years ago
1.0.22
10 years ago
1.0.21
10 years ago
1.0.20
10 years ago
1.0.19
10 years ago
1.0.16
10 years ago
1.0.15
10 years ago
1.0.14
10 years ago
1.0.13
10 years ago
1.0.12
10 years ago
1.0.11
10 years ago
1.0.10
10 years ago
1.0.9
10 years ago
1.0.8
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.2
10 years ago