generator-marcelle
v0.0.6
Published
A Yeoman generator for Marcelle applications
Downloads
4
Maintainers
Readme
generator-marcelle
A Yeoman generator for Marcelle applications
Installation
First, install Yeoman and generator-marcelle using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-marcelle
Generating a Marcelle Application
To generate a new project:
yo marcelle
Several options are available to customize the project. If you don't know what to chose, just hit enter to select the defaults.
Generating a Component
It is possible to use the generator to create new custom components for an application or a marcelle package.
yo marcelle:component
Just enter your component's name (e.g. my-component) and the generator will create a template component that you can your in your script:
import { myComponent } from './components';
const m = myComponent(opts);
Generating a Backend
It is possible to use the generator to add server-side data storage (backend).
yo marcelle:backend
To run the server:
npm run backend