herp derp

This commit is contained in:
Tim Lancina
2015-06-10 16:57:28 -05:00
parent df76f539b7
commit 7bfe361e97

View File

@@ -13,7 +13,7 @@ For a quick intro to Ionic 2, see the [guide](GUIDE.md).
2. Cd into the `../angular-ionic` directory and run `gulp build` to build out the Angular files. If you are on a clean install, but `../angular-ionic` already exists, run `gulp link.angular` to symlink `angular2` in your `ionic2` working directory to `../angular-ionic`. This is for the SystemJS builder, which
can't see below the root directory.
3. Run `npm install` and `jspm install`. Make sure you have at least version 15.6 of JSPM. It should not alter your `config.js` or `package.json` files, if it does, make sure you have the proper version of JSPM.
4. In the `ionic2` working directory, run `gulp build.clean`. This will transpile the Ionic project files to es5, bundle them using the [SystemJS builder](https://github.com/systemjs/builder), bundle all of Ionic's dependencies (ie Angular2 and all of its dependencies) into a separate file, and build out all the Ionic examples as well. In `dist/js/es6/ionic` you will find clean es6 Ionic files (no @Annotations), and in `dist/js/es5/ionic` you will find all of the Babel-transpiled es5 Ionic project files. The two bundles are located at `dist/js/ionic.bundle.js` and `dist/js/dependencies.js`, and the examples are located in `dist/examples`.
4. In the `ionic2` working directory, run `gulp clean.build`. This will transpile the Ionic project files to es5, bundle them using the [SystemJS builder](https://github.com/systemjs/builder), bundle all of Ionic's dependencies (ie Angular2 and all of its dependencies) into a separate file, and build out all the Ionic examples as well. In `dist/js/es6/ionic` you will find clean es6 Ionic files (no @Annotations), and in `dist/js/es5/ionic` you will find all of the Babel-transpiled es5 Ionic project files. The two bundles are located at `dist/js/ionic.bundle.js` and `dist/js/dependencies.js`, and the examples are located in `dist/examples`.
5. Run `gulp watch`.
6. Go to [http://localhost:8000/dist/examples/](http://localhost:8000/dist/examples/)
7. Stay cool