Starter blueprint for Ionic apps, used by the Ionic 1.x.
This is the repo for Ionic 1.x. If you're looking for the latest version (>= 4.0) of Ionic, please visit the main Ionic repo.
For new apps, we strongly recommend the latest version of Ionic which comes with the latest version of Angular, many new components, enhanced performance, and more.
- clone this repo:
git clone https://github.com/douglaszaltron/starter-ionic-app.git
cd starter-ionic-app
yarn install
- run
yarn build && yarn start
from a terminal
- run
open ~/.bash_profile
from a terminal - copy line and save
create-ionic-app() {
curl -L https://github.com/douglaszaltron/starter-ionic-app/archive/master.tar.gz | tar -xz
mkdir -p "${1}"
mv starter-ionic-app-master/{*,.[^.]*} "${1}"
rm -d starter-ionic-app-master
cd "${1}" || exit
}
- run
source ~/.bash_profile
- from create new project run
create-ionic-app samples
scss
will automatically update on every commit to the master branch of this repo.