comfroels / generator-rim-es6-component

Yeoman generator for es6 components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RimDev ES6 component generator

Build status npm version npm downloads

Install the generator and yeoman via NPM

npm install -g yeoman-generator generator-rim-es6-component

Run the generator, move into the directory, and start the project. The generator will automatically install your dependencies unless you choose to skip it (--skip-install). You may choose to use yarn instead of npm for the installation by using the --yarn argument.

yo rim-es6-component [app-name] [--yarn] [--skip-install]
cd [app-name]
npm start

If you navigate to /src/[app-name].js, you'll find your component class. There will be a commented section: /* Implement Component Logic Here Via tmpClone */, where you can start your component.

If you are having issues please refer to our blog post

About

Yeoman generator for es6 components

License:MIT License


Languages

Language:JavaScript 89.0%Language:Batchfile 7.0%Language:HTML 4.0%