diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4444ba006a7..79b826a483f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -177,8 +177,8 @@ Ionic's documentation is built using [Docusaurus](https://docusaurus.io/). The c - `components/` - components used across the site - `global/` - components used globally - `page/` - components used on a single page or in a limited scope - - `styles/` - global styles and variables - - `components/` - styles split out into the components they target + - `css/` - global styles, refer to its [README](src/css/README.md) + - `theme/` - overrides for the markup Docusaurus's theme renders - `theme/` - Docusaurus theme components that have been swizzled - `static/` - `code/` - StackBlitz project templates used by the playgrounds diff --git a/_templates/playground/new/vue.md.ejs.t b/_templates/playground/new/vue.md.ejs.t index 5867eb38b95..312faaf6088 100644 --- a/_templates/playground/new/vue.md.ejs.t +++ b/_templates/playground/new/vue.md.ejs.t @@ -8,14 +8,14 @@ to: "<%= `static/usage/v${version}/${name}/${path}/vue.md` %>" <% if (css){ -%> <% } -%> ``` diff --git a/docs/api/item.mdx b/docs/api/item.mdx index de12b4f679e..30f1b239ad7 100644 --- a/docs/api/item.mdx +++ b/docs/api/item.mdx @@ -363,7 +363,7 @@ export default Example; In Vue, use the `router-link` attribute on `ion-item`. The `router-direction` and `router-animation` attributes are also available for controlling the transition. -```html +```vue ``` diff --git a/docs/api/route.mdx b/docs/api/route.mdx index b88b78bdc1d..32218db1631 100644 --- a/docs/api/route.mdx +++ b/docs/api/route.mdx @@ -182,7 +182,7 @@ const confirmDiscardChanges = async () => { -```html +```vue ``` diff --git a/docs/api/tab-bar.mdx b/docs/api/tab-bar.mdx index 59bc9969a39..6b976c81539 100644 --- a/docs/api/tab-bar.mdx +++ b/docs/api/tab-bar.mdx @@ -105,7 +105,7 @@ export const TabBarExample: React.FC = () => ( -```html +```vue ``` diff --git a/docs/api/tab-button.mdx b/docs/api/tab-button.mdx index 44205a470db..dcb3498460e 100644 --- a/docs/api/tab-button.mdx +++ b/docs/api/tab-button.mdx @@ -145,7 +145,7 @@ export const TabButtonExample: React.FC = () => ( -```html +```vue ``` diff --git a/docs/developing/config/_per-component.mdx b/docs/developing/config/_per-component.mdx index b5d291464f7..656e2ec6698 100644 --- a/docs/developing/config/_per-component.mdx +++ b/docs/developing/config/_per-component.mdx @@ -167,20 +167,20 @@ createApp(App).use(IonicVue, { **Recommended** -```html +```vue ``` diff --git a/docs/developing/managing-focus.mdx b/docs/developing/managing-focus.mdx index f5b923ca016..bd7cb0a5e0c 100644 --- a/docs/developing/managing-focus.mdx +++ b/docs/developing/managing-focus.mdx @@ -100,7 +100,7 @@ export default Home; -```html +```vue ``` @@ -215,7 +215,7 @@ export default Home; -```html +```vue ``` diff --git a/docs/native-setup.mdx b/docs/native-setup.mdx index ddbb8223341..7f2c2f3f9c0 100644 --- a/docs/native-setup.mdx +++ b/docs/native-setup.mdx @@ -88,13 +88,13 @@ export class CameraComponent{ -```typescript +```vue - ``` **After** -```html +```vue ... ``` diff --git a/docs/vue/navigation.mdx b/docs/vue/navigation.mdx index a48e3d90a58..1ee1d6d31de 100644 --- a/docs/vue/navigation.mdx +++ b/docs/vue/navigation.mdx @@ -95,7 +95,7 @@ const routes: RouteRecordRaw[] = [ Say we start on the `home` route, and we want to add a button that takes us to the `detail` route. We can do this using the following HTML to navigate to the `detail` route: -```html +```vue Go to detail ``` @@ -128,7 +128,7 @@ The `router-direction` attribute accepts values of `"forward"`, `"back"`, or `"r The `router-animation` attribute accepts an `AnimationBuilder` function and is used to provide a custom page transition that is only used when clicking the component it is provided on. The `AnimationBuilder` type is a function that returns an Ionic Animation instance. Refer to the [Animations documentation](../utilities/animations.mdx) for more information on using animations in Ionic Vue. -```html +```vue Click Me ``` diff --git a/static/usage/v9/accordion/accessibility/animations/vue.md b/static/usage/v9/accordion/accessibility/animations/vue.md index 21f76f629fb..2ffa91897d8 100644 --- a/static/usage/v9/accordion/accessibility/animations/vue.md +++ b/static/usage/v9/accordion/accessibility/animations/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/basic/vue.md b/static/usage/v9/accordion/basic/vue.md index 1cca6c2afef..b1c9dea7117 100644 --- a/static/usage/v9/accordion/basic/vue.md +++ b/static/usage/v9/accordion/basic/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/customization/advanced-expansion-styles/vue.md b/static/usage/v9/accordion/customization/advanced-expansion-styles/vue.md index 6f01efaec15..97a24f1eee5 100644 --- a/static/usage/v9/accordion/customization/advanced-expansion-styles/vue.md +++ b/static/usage/v9/accordion/customization/advanced-expansion-styles/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/customization/expansion-styles/vue.md b/static/usage/v9/accordion/customization/expansion-styles/vue.md index 0c020847dc7..fd185fdec37 100644 --- a/static/usage/v9/accordion/customization/expansion-styles/vue.md +++ b/static/usage/v9/accordion/customization/expansion-styles/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/customization/icons/vue.md b/static/usage/v9/accordion/customization/icons/vue.md index 0ceebf36b52..ecc808594ce 100644 --- a/static/usage/v9/accordion/customization/icons/vue.md +++ b/static/usage/v9/accordion/customization/icons/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/customization/theming/vue.md b/static/usage/v9/accordion/customization/theming/vue.md index 51f75eaf1e5..59ec5822048 100644 --- a/static/usage/v9/accordion/customization/theming/vue.md +++ b/static/usage/v9/accordion/customization/theming/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/disable/group/vue.md b/static/usage/v9/accordion/disable/group/vue.md index 423acd3bc03..0c43f367e5f 100644 --- a/static/usage/v9/accordion/disable/group/vue.md +++ b/static/usage/v9/accordion/disable/group/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/disable/individual/vue.md b/static/usage/v9/accordion/disable/individual/vue.md index 2edc619c85f..f3ddeaa3b59 100644 --- a/static/usage/v9/accordion/disable/individual/vue.md +++ b/static/usage/v9/accordion/disable/individual/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/listen-changes/vue.md b/static/usage/v9/accordion/listen-changes/vue.md index 90df82b9038..87b1b922982 100644 --- a/static/usage/v9/accordion/listen-changes/vue.md +++ b/static/usage/v9/accordion/listen-changes/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/multiple/vue.md b/static/usage/v9/accordion/multiple/vue.md index d971225f923..e760b93b3d2 100644 --- a/static/usage/v9/accordion/multiple/vue.md +++ b/static/usage/v9/accordion/multiple/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/readonly/group/vue.md b/static/usage/v9/accordion/readonly/group/vue.md index 1eff5bc7b6d..a020a869c57 100644 --- a/static/usage/v9/accordion/readonly/group/vue.md +++ b/static/usage/v9/accordion/readonly/group/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/readonly/individual/vue.md b/static/usage/v9/accordion/readonly/individual/vue.md index ca792f75090..060f1e8638d 100644 --- a/static/usage/v9/accordion/readonly/individual/vue.md +++ b/static/usage/v9/accordion/readonly/individual/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/accordion/toggle/vue.md b/static/usage/v9/accordion/toggle/vue.md index c200a77ceb8..87801a903f5 100644 --- a/static/usage/v9/accordion/toggle/vue.md +++ b/static/usage/v9/accordion/toggle/vue.md @@ -1,4 +1,4 @@ -```html +```vue ``` diff --git a/static/usage/v9/action-sheet/controller/vue.md b/static/usage/v9/action-sheet/controller/vue.md index 7e7badbccff..967b258d135 100644 --- a/static/usage/v9/action-sheet/controller/vue.md +++ b/static/usage/v9/action-sheet/controller/vue.md @@ -1,39 +1,39 @@ -```html +```vue ``` diff --git a/static/usage/v9/action-sheet/inline/isOpen/vue.md b/static/usage/v9/action-sheet/inline/isOpen/vue.md index 31567ec00cd..983eda00b5c 100644 --- a/static/usage/v9/action-sheet/inline/isOpen/vue.md +++ b/static/usage/v9/action-sheet/inline/isOpen/vue.md @@ -1,4 +1,4 @@ -```html +```vue