1.0.36 • Published 10 years ago

ember-vcl-build-demo v1.0.36

Weekly downloads
29
License
MIT
Repository
github
Last release
10 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

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