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/3.usage.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ description: ''
5
5
6
6
## Page routing
7
7
8
-
Out of the box, you can start building your Ionic application with by creating routes within `~/pages` directory. To access the router, you should use `useIonRouter()` rather than an import from `vue-router`.
8
+
Out of the box, you can start building your Ionic application by creating routes within `~/pages` directory. To access the router, you should use `useIonRouter()` rather than an import from `vue-router`.
9
9
10
-
Nuxt utilities like `definePageMeta` will continue to work, but you likely not try to use`<NuxtPage>` or `<NuxtLayout>`.
10
+
Nuxt utilities like `definePageMeta` will continue to work, but you should avoid using`<NuxtPage>` or `<NuxtLayout>`.
11
11
12
12
::alert
13
13
The root component of every page should be the `<ion-page>` component.
@@ -17,21 +17,21 @@ The root component of every page should be the `<ion-page>` component.
17
17
18
18
All Ionic Vue components should be auto-imported throughout your app. (If you find one that isn't, please open an issue.) Although your IDE should be aware of these everywhere, they are not globally registered and are only imported within the components that use them.
19
19
20
-
For more on how component imports work, see [the Nuxt documentation](https://v3.nuxtjs.org/guide/directory-structure/components#components-directory).
20
+
For more on how component imports work, see the [Nuxt documentation](https://v3.nuxtjs.org/guide/directory-structure/components#components-directory).
21
21
22
22
## Helper functions
23
23
24
24
Nuxt provides a number of Ionic hooks/composables via auto-imports within your app:
For more on what these do, you can read the [Ionic docs](https://ionicframework.com/docs/). For more on how auto-imports work, see [the Nuxt documentation](https://v3.nuxtjs.org/guide/concepts/auto-imports#auto-imports).
28
+
For more on what these do, you can read the [Ionic docs](https://ionicframework.com/docs/). For more on how auto-imports work, see the [Nuxt documentation](https://v3.nuxtjs.org/guide/concepts/auto-imports#auto-imports).
29
29
30
30
## Advanced
31
31
32
-
### Customising your root `app.vue`
32
+
### Customizing your root `app.vue`
33
33
34
-
If you need to customise the default Ionic `app.vue` file, you can create a new one in your project's source directory.
34
+
If you need to customize the default Ionic `app.vue` file, you can create a new one in your project's source directory.
0 commit comments