generator-appkit
v0.3.5
Published
ui5 es6 app generator with features like es6 transpilation, browserify, xml validation, minifying source files, jsHint, prettier and more
Downloads
6
Maintainers
Readme
generator-appkit
- es6 syntax
- es6 transpilation
- minifying files
- xml validation
- jsHint
- prettier
- browserify
- and more..
Installation
- Open up your Terminal, navigate to the root folder enter:
npm install
- Install yo globally, enter:
npm install yo -g
- Create a symlink just enter :
npm link
Running the app generator
To run and create a whole new ui5 project in es6 syntax, enter: yo appkit
You will have to go trough five steps:
- Enter a project name that you like
- Enter a service name which you would want to connect to and not the whole url.
- Enter a module name or package name, that you wish.
- Enter a name for the default View/Controller.
- Enter a path in which the project should be generated.
../../
- Go two folders back and create it there../output/
- Go a folder back, and place it in the output folder. (When folder does not exist, then it will be created.)
Getting started with gulp, transpiling and more Getting started with running the application in a webserver Getting started with browserify and installing libraries
Sub-generators
- By entering
yo appkit --generators
you will see all generators available - With
yo appkit:nameofsubgenerator
you can run a subgenerator
appkit-generator has following sub-generators available:
├─┬ appkit
│ ├── controller ( generates a Controller.js )
│ └── fragment ( generates a Fragment.xml )
│ └── i18n ( generates a i18n.properties )
│ └── view ( generates a View.xml )