1.0.36 • Published 9 years ago

ember-vcl-build-demo v1.0.36

Weekly downloads
29
License
MIT
Repository
github
Last release
9 years ago

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

  1. Checkout the component
  2. Run npm install
  3. 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

  1. Add the build-demo package as a dependency into the component's package.json
  2. Define npm test command in package.json as "test": "cd tmp && gulp watch"
  3. Create a folder called demo in the component's root folder
  4. Create a folder called example in the demo folder
  5. Create two files: application.js and application.hbs. The application.js must export an Ember controller and the application.hbs should contain the application template
  6. 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

MIT 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