diff --git a/docs/vue/build-options.md b/docs/vue/build-options.md index 5a43eaf6fb..8d27698cfd 100644 --- a/docs/vue/build-options.md +++ b/docs/vue/build-options.md @@ -28,7 +28,7 @@ Also note that locally registered components are not available in subcomponents. Let's take a look at how local component registration works: -```html +```vue ``` @@ -70,7 +70,7 @@ app.component('ion-page', IonPage); **MyComponent.vue** -```html +```vue ``` diff --git a/docs/vue/lifecycle.md b/docs/vue/lifecycle.md index f6c5fa5423..a1262c0033 100644 --- a/docs/vue/lifecycle.md +++ b/docs/vue/lifecycle.md @@ -21,7 +21,7 @@ These lifecycles are only called on components directly mapped by a router. This The lifecycles are defined the same way Vue lifecycle methods are - as functions at the root of your Vue component: -```tsx +```vue ``` @@ -364,7 +364,7 @@ Here, our `tabs` path loads a `Tabs` component. We provide each tab as a route o Let's start by taking a look at our `Tabs` component: -```html +```vue ``` @@ -494,7 +494,7 @@ Nothing should be provided inside of `IonRouterOutlet` when setting it up in you The `IonPage` component wraps each view in an Ionic Vue app and allows page transitions and stack navigation to work properly. Each view that is navigated to using the router must include an `IonPage` component. -```html +```vue ``` @@ -550,7 +550,7 @@ Notice that we have now added `:id` to the end of our `detail` path string. URL Let's look at how to use it in our component: -```html +```vue ``` diff --git a/docs/vue/performance.md b/docs/vue/performance.md index c767f2aa8b..b3206fd76e 100644 --- a/docs/vue/performance.md +++ b/docs/vue/performance.md @@ -11,7 +11,7 @@ When using `v-for` with Ionic components, we recommend using Vue's `key` attribu By using `key` you can provide a stable identity for each loop element so Vue can track insertions and deletions within the iterator. Below is an example of how to use `key`: -```html +```vue ``` diff --git a/docs/vue/quickstart.md b/docs/vue/quickstart.md index 8ff548436d..6f96596157 100644 --- a/docs/vue/quickstart.md +++ b/docs/vue/quickstart.md @@ -74,7 +74,7 @@ Let's walk through these files to understand the app's structure. The root of your app is defined in `App.vue`: -```tsx +```vue