A simple ionic boilerplate for starting new projects.
This boilerplate will follow the best practices for fast ionic development.
# Make sure you have latest Node and NPM versions
$ npm install
$ npm run serve
Task | Description |
---|---|
start |
Run node index.js |
clean |
Run ionic clean |
build |
Run ionic basic build |
lint |
Run ionic tslint |
serve |
Run ionic serve |
prod |
Full production build |
# iOS build example
$ sudo npm install -g ionic cordova
$ ionic cordova platform add ios
$ ionic cordova run ios
.
├── docs # Project documentation
├── resources # Cordova resources
├── src # Uncompiled source code
│ ├── app
│ ├── assets
│ ├── pages
│ ├── services
│ ├── theme
│ ├── index.html # Main entry point
│ └── ...
├── www # Compiled files
│ ├── assets
│ ├── build
│ | ├── main.js # Concatenated app file
│ | └── ...
│ └── ...
└── ... # Config files etc.
Copyright (c) 2018 Samuli Ristimäki @frc
Source code is open source and released under the MIT license.