How to customize a ionic project templates


#1

some times ,I want fast create a project use myself templates

eg: I am already a templates like this

How to do use CLI for my templates like ionic start myApp tabs ?


#2

Copy one of the starter templates like ionic-starter-blank or ionic-starter-tabs to some local folder e.g. ionic-starter-foo, make your changes, then create a new project with

ionic start myApp /path/to/ionic-starter-foo

#3

Thanks! it is so easy !

and if I am push my templates to github eg : https://github.com/driftyco/ionic-starter-tabs.git

How to start by CLi ?

$ ionic start myApp   https://github.com/driftyco/ionic-starter-tabs.git     // 

Look likes invalid.


#4

I have my own template on Github, it works like this:

$ ionic start myApp https://github.com/mirkonasato/ionic-starter-blank

#5

Thank you. It’s OK. It’s true.