This app accompanies the Ionic component documentation.
- clone this repo:
git clone https://github.com/ionic-team/ionic-preview-app.git
cd ionic-preview-app
npm install
- run
ionic serve
from a terminal
- Clone
ionic-site
as a sibling directory to this app:git clone [email protected]:ionic-team/ionic-site.git
- Follow the steps for running
ionic-site
locally: https://github.com/ionic-team/ionic-site#local-build - Follow the steps for running this repo: https://github.com/ionic-team/ionic-preview-app#installation--development
- Make any changes you want to this project and then build/serve it
- Copy the www folder to
ionic-site/dist/preview-app/
:cp -R www ../ionic-site/content/dist/preview-app
- If the site doesn't update you may need to restart
gulp watch
ionic-site
will automatically update on every commit to the master branch of this repo.