Ionic guide including ionic4 (#22236)

This commit is contained in:
Dom Slatford
2018-12-01 15:19:45 +00:00
committed by Kristofer Koishigawa
parent e0e864fd0f
commit e3fe801288
3 changed files with 26 additions and 11 deletions

View File

@@ -37,3 +37,23 @@ Create a new project and run in the browser:
ionic serve
```
### Ionic 4 Beta:
The latest release of Ionic is [Ionic 4](https://blog.ionicframework.com/announcing-ionic-4-beta/). Having completly rewritten all their Angular components as web compoents, Ionic is now platform agnostic with the ability to use Anguar, Vue, React, or plain JavaScript.
To use Ionic 4 make sure you have the latest version of the Ionic CLI:
```shell
npm i -g ionic
```
and use the type arguments
```shell
ionic start MyFirstIonic4App tabs --type=angular
cd MyFirstIonic4App
ionic serve
```
Ionic 4's CLI now uses Angular's CLI for its building and routing. For other frameworks see the quickstarts:
- [Ionic Angular](https://github.com/ionic-team/ionic/tree/master/angular)
- [Ionic Vue](https://github.com/ionic-team/ionic/blob/master/vue/README.md)
- [Ionic React](https://github.com/ionic-team/ionic/tree/master/react)