Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions packages/vue/test/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />

<link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png" />
<link rel="shortcut icon" type="image/png" href="/favicon.png" />

<!-- add to homescreen for ios -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Ionic App" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<script type="module" src="/src/main.ts"></script>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

</html>
Expand Down
Binary file added packages/vue/test/base/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/vue/test/base/src/components/ModalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ion-page>
<ion-header>
<ion-toolbar>
<ion-buttons>
<ion-buttons slot="end">
<ion-button @click="dismiss" id="dismiss">Dismiss</ion-button>
</ion-buttons>
<ion-title>Modal</ion-title>
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/test/base/src/components/NavChild.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<ion-header>
<ion-toolbar>
<ion-buttons>
<ion-buttons slot="start">
<ion-back-button></ion-back-button>
</ion-buttons>
<ion-title>Nav - Child</ion-title>
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/test/base/src/components/NavRoot.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<ion-header>
<ion-toolbar>
<ion-buttons>
<ion-buttons slot="end">
<ion-button @click="dismiss">Dismiss</ion-button>
</ion-buttons>
<ion-title>Nav - Root</ion-title>
Expand Down
11 changes: 11 additions & 0 deletions packages/vue/test/base/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ import '@ionic/vue/css/text-transformation.css';
import '@ionic/vue/css/flex-utils.css';
import '@ionic/vue/css/display.css';

/**
* Ionic Dark Mode
* -----------------------------------------------------
* For more info, please see:
* https://ionicframework.com/docs/theming/dark-mode
*/

/* @import '@ionic/vue/css/palettes/dark.always.css'; */
/* @import '@ionic/vue/css/palettes/dark.class.css'; */
import '@ionic/vue/css/palettes/dark.system.css';

/* Theme variables */
import './theme/variables.css';

Expand Down
32 changes: 14 additions & 18 deletions packages/vue/test/base/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ const routes: Array<RouteRecordRaw> = [
path: '/navigation',
component: () => import('@/views/Navigation.vue')
},
{
path: '/components',
component: () => import('@/views/Components.vue'),
},
{
path: '/components/breadcrumbs',
component: () => import('@/views/Breadcrumbs.vue')
Expand All @@ -92,76 +88,76 @@ const routes: Array<RouteRecordRaw> = [
},
{
path: '/nested',
component: () => import('@/views/RouterOutlet.vue'),
component: () => import('@/views/nested/RouterOutlet.vue'),
children: [
{
path: '',
component: () => import('@/views/NestedChild.vue')
component: () => import('@/views/nested/NestedChild.vue')
},
{
path: 'two',
component: () => import('@/views/NestedChildTwo.vue')
component: () => import('@/views/nested/NestedChildTwo.vue')
},
{
path: ':id',
component: () => import('@/views/Folder.vue'),
component: () => import('@/views/nested/Folder.vue'),
props: true
}
]
},
{
path: '/tabs/',
component: () => import('@/views/Tabs.vue'),
component: () => import('@/views/tabs/Tabs.vue'),
children: [
{
path: '',
redirect: '/tabs/tab1'
},
{
path: 'tab1',
component: () => import('@/views/Tab1.vue'),
component: () => import('@/views/tabs/Tab1.vue'),
},
{
path: 'tab1/:id',
component: () => import('@/views/Tab1Parameter.vue'),
component: () => import('@/views/tabs/Tab1Parameter.vue'),
props: true
},
{
path: 'tab2',
component: () => import('@/views/Tab2.vue')
component: () => import('@/views/tabs/Tab2.vue')
},
{
path: 'tab3',
beforeEnter: (to, from, next) => {
next({ path: '/tabs/tab1' });
},
component: () => import('@/views/Tab3.vue')
component: () => import('@/views/tabs/Tab3.vue')
},
{
path: 'tab4',
component: () => import('@/views/Tab4.vue')
component: () => import('@/views/tabs/Tab4.vue')
}
]
},
{
path: '/tabs-secondary/',
component: () => import('@/views/TabsSecondary.vue'),
component: () => import('@/views/tabs-secondary/TabsSecondary.vue'),
children: [
{
path: '',
redirect: '/tabs-secondary/tab1'
},
{
path: 'tab1',
component: () => import('@/views/Tab1Secondary.vue')
component: () => import('@/views/tabs-secondary/Tab1Secondary.vue')
},
{
path: 'tab2',
component: () => import('@/views/Tab2Secondary.vue')
component: () => import('@/views/tabs-secondary/Tab2Secondary.vue')
},
{
path: 'tab3',
component: () => import('@/views/Tab3Secondary.vue')
component: () => import('@/views/tabs-secondary/Tab3Secondary.vue')
}
]
},
Expand Down
Loading
Loading