File tree Expand file tree Collapse file tree 6 files changed +41
-5
lines changed
static/usage/v6/icon/basic
versioned_docs/version-v6/developer-resources Expand file tree Collapse file tree 6 files changed +41
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Playground from '@site/src /components/global/Playground';
2
2
3
- import javascript from './javascript.md';
3
+ import javascript_index_html from './javascript/index_html.md';
4
+ import javascript_index_ts from './javascript/index_ts.md';
5
+
4
6
import react from './react.md';
5
7
import vue from './vue.md';
6
8
import angular_example_component_html from './angular/example_component_html.md';
@@ -10,7 +12,12 @@ import angular_example_component_ts from './angular/example_component_ts.md';
10
12
version="6"
11
13
size="xsmall"
12
14
code={{
13
- javascript,
15
+ javascript: {
16
+ files: {
17
+ 'index.html': javascript_index_html,
18
+ 'index.ts': javascript_index_ts,
19
+ },
20
+ },
14
21
react,
15
22
vue,
16
23
angular: {
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ ``` ts
2
+ import { defineCustomElements } from ' @ionic/core/loader' ;
3
+
4
+ import { addIcons } from ' ionicons' ;
5
+ import { logoIonic } from ' ionicons/icons' ;
6
+
7
+ /* Core CSS required for Ionic components to work properly */
8
+ import ' @ionic/core/css/core.css' ;
9
+
10
+ /* Basic CSS for apps built with Ionic */
11
+ import ' @ionic/core/css/normalize.css' ;
12
+ import ' @ionic/core/css/structure.css' ;
13
+ import ' @ionic/core/css/typography.css' ;
14
+
15
+ /* Optional CSS utils that can be commented out */
16
+ import ' @ionic/core/css/padding.css' ;
17
+ import ' @ionic/core/css/float-elements.css' ;
18
+ import ' @ionic/core/css/text-alignment.css' ;
19
+ import ' @ionic/core/css/text-transformation.css' ;
20
+ import ' @ionic/core/css/flex-utils.css' ;
21
+ import ' @ionic/core/css/display.css' ;
22
+
23
+ /* Theme variables */
24
+ import ' ./theme/variables.css' ;
25
+
26
+ addIcons ({ logoIonic });
27
+
28
+ defineCustomElements ();
29
+ ```
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Angular. Vue. React. Vanilla JavaScript. All of these tools can be used to creat
6
6
7
7
<!-- cspell:disable-next-line -->
8
8
9
- by [ Paul Halliday] ( https:: //developer.school )
9
+ by [ Paul Halliday] ( https://developer.school )
10
10
11
11
### [ Creating Ionic Applications with StencilJS] ( https://www.joshmorony.com/creating-ionic-applications-with-stencil-js/ ) - [ Free Preview] ( https://cdn2.hubspot.net/hubfs/3776657/PREVIEW-Creating-Ionic-Apps-with-StencilJS.pdf )
12
12
Original file line number Diff line number Diff line change 1
1
[
2
- " v7"
2
+ " v7" ,
3
+ " v6"
3
4
]
Original file line number Diff line number Diff line change 1
1
{
2
- "v6" : " https://ionic-docs-o31kiyk8l-ionic1.vercel.app/docs/v6" ,
3
2
"v5" : " https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5"
4
3
}
You can’t perform that action at this time.
0 commit comments