Skip to content

gibbsonn/generator-dojo-widget

 
 

Repository files navigation

generator-dojo-widget

Build Status

Yeoman generator

Getting Started

$ npm install -g yo
$ npm install -g generator-dojo-widget

Finally, initiate the generator:

$ yo dojo-widget

What will happen

A few opinionated files will be created. If you created a widget called test, the following files will be created for you.

  'app/test.js',
  'app/templates/test.html',
  'app/tests/testTests.html',
  'app/tests/spec/Spectest.js',
  'app/resources/test.css'

The /test.js file will contain your widget logic.
/templates/test.html will be an empty template file if your widget has a template.
tests/testTests.html is an html page that you can load to see your widget in isolation.
tests/spec/Spectest.js is a jasmine test spec file with a default test instantiating your new widget.
resources/test.css is the style sheet containing styles specific to your new widget.

License

MIT

About

A yeoman generator to create dojo widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published