You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<title>Ionic Framework Packages: CDN, Angular, Vue, and React</title>
7
+
<title>Ionic Framework Packages: CDN, Angular, Vue, React, and JavaScript</title>
8
8
<meta
9
9
name="description"
10
-
content="View our different packages that can be used to quickly start using Ionic Framework or Ionicons CDN in a test environment, Angular, Vue, React, or none at all."
10
+
content="View our different packages that can be used to quickly start using Ionic Framework or Ionicons CDN in a test environment, Angular, Vue, React, or JavaScript."
11
11
/>
12
12
</head>
13
13
14
-
Ionic provides different packages that can be used to quickly get started using Ionic Framework or Ionicons in a test environment, Angular, any other framework, or none at all.
14
+
import DocsCard from '@components/global/DocsCard';
15
+
import DocsCards from '@components/global/DocsCards';
15
16
16
-
## Ionic Framework CDN
17
+
Ionic Framework offers npm packages for Angular, React, Vue, and JavaScript, plus CDN links for quick prototyping. Choose your framework below to get started, or use the CDN to test Ionic Framework components in the browser.
17
18
18
-
Ionic Framework can be included from a CDN for quick testing in a [Plunker](https://plnkr.co/), [Codepen](https://codepen.io), or any other online code editor!
19
+
## Ionic Angular
19
20
20
-
It's recommended to use [jsdelivr](https://www.jsdelivr.com/) to access the Framework from a CDN. To get the latest version, add the following inside the `<head>` element in an HTML file, or where external assets are included in the online code editor:
21
+
Start a new Ionic Angular app or add Ionic to your existing Angular project.
With this it's possible to use all of the Ionic Framework core components without having to install a framework. The CSS bundle will include all of the Ionic [Global Stylesheets](../layout/global-stylesheets).
<p>Add Ionic Angular to an existing Angular project.</p>
31
+
</DocsCard>
33
32
34
-
## Ionic + Angular
33
+
</DocsCards>
35
34
36
-
When using Ionic Framework in an Angular project, install the latest `@ionic/angular` package from [npm](../reference/glossary.md#npm). This comes with all of the Ionic Framework components and Angular specific services and features.
35
+
## Ionic React
37
36
38
-
```shell
39
-
npm install @ionic/angular@latest --save
40
-
```
37
+
Start a new Ionic React app or add Ionic to your existing React project.
41
38
42
-
Each time there is a new Ionic Framework release, this [version](../reference/versioning.md) will need to be updated to get the latest features and fixes. The version can be [updated using npm](../developing/tips.md#updating-dependencies), as well.
39
+
<DocsCards>
43
40
44
-
For adding Ionic to an already existing Angular project, use the Angular CLI's `ng add` feature.
To include the necessary CSS in a Vue project, add the following to your `main.js` file.
79
+
## Ionic Framework CDN
134
80
135
-
```javascript
136
-
/* Core CSS required for Ionic components to work properly */
137
-
import'@ionic/vue/css/core.css';
81
+
Ionic Framework can be included from a CDN for quick testing in a [StackBlitz](https://stackblitz.com/), [Plunker](https://plnkr.co/), [Codepen](https://codepen.io), or any other online code editor!
138
82
139
-
/* Basic CSS for apps built with Ionic */
140
-
import'@ionic/vue/css/normalize.css';
141
-
import'@ionic/vue/css/structure.css';
142
-
import'@ionic/vue/css/typography.css';
83
+
It's recommended to use [jsdelivr](https://www.jsdelivr.com/) to access the Framework from a CDN. To get the latest version, add the following inside the `<head>` element in an HTML file, or where external assets are included in the online code editor:
143
84
144
-
/* Optional CSS utils that can be commented out */
From here, you can learn about how to develop with Ionic Framework in our [Ionic Vue Quickstart Guide](https://ionicframework.com/docs/vue/quickstart).
91
+
With this it's possible to use all of the Ionic Framework core components without having to install a framework. The CSS bundle will include all of the Ionic [Global Stylesheets](../layout/global-stylesheets).
154
92
155
93
## Ionicons CDN
156
94
@@ -161,6 +99,4 @@ Ionicons is packaged by default with the Ionic Framework, so no installation is
0 commit comments