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
Copy file name to clipboardExpand all lines: docs/content/1.get-started/1.introduction.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ This module attempts to get you going with Nuxt + Ionic quickly, providing sane
35
35
::list{type=success}
36
36
-**Ionic router integration:** continue defining routes based on the structure of your `~/pages` directory and using page-level utilities such as `definePageMeta()`.
37
37
-**Auto-imports**: Ionic components, composables and icons are all [auto-imported](https://nuxt.com/docs/guide/concepts/auto-imports) for ease of use.
38
+
-**Support SVG Icons**: custom icons in the assets/ionic-icons path
38
39
-**Helpful components and utilities**: This module provides components and utilities to accomplish common tasks more easily.
39
40
-**PWA support**: out-of-the-box support for progressive web apps, using `nuxt-pwa-module`.
Copy file name to clipboardExpand all lines: docs/content/1.get-started/3.configuration.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,29 @@ Integrations control which other modules this module should enable and setup fro
50
50
51
51
-**icons**
52
52
53
+
-**ionicons**
54
+
53
55
Default: `true`
54
-
Disable to stop icons from being auto-imported.
56
+
Disable to stop ionic-icons from being auto-imported.
57
+
58
+
-**svg**
59
+
60
+
Custom SVG icons and automatic detection with nested folders and icon size optimization in assets/ionic-icons path.
61
+
::alert{type="warning"}
62
+
⚠️ Note: Please put all the necessary SVG files in the assets/ionic-icons folder before you run your project. Because when a file is added/deleted in this path, your project will be rerendered again.
Icons are auto-imported from [`ionicons/icons`](https://github.com/ionic-team/ionicons) by default, following the pattern of camel case naming with `ionicons` in front of the original icon name, that you can find on the [official ionicons website](https://ionic.io/ionicons).
8
8
9
+
::alert{type="info"}
10
+
ℹ️ Note: Please put all the necessary SVG files in the assets/ionic-icons folder before you run your project. Because when a file is added/deleted in this path, your project will be rerendered again.
11
+
::
12
+
13
+
::alert{type="warning"}
14
+
⚠️ Note: When you use #import , change the name of the icon using "as" and the desired name. Because it doesn't interfere with auto-import.
0 commit comments