Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: routing & dependency errors #1

Closed
wants to merge 2 commits into from
Closed
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
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ export default defineNuxtConfig({
modules: ['@nuxtjs/ionic'],
css: ['~/assets/css/ionic.css'],
ssr: false,
experimental: {
externalVue: true,
}
});
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"@ionic/vue": "^6.4.1",
"@ionic/vue-router": "^6.4.1",
"pug": "^3.0.2",
"sass": "^1.57.1"
"sass": "^1.57.1",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"packageManager": "pnpm@7.19.0"
}
}
5 changes: 4 additions & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!-- @format -->
<template>
<div />
</template>

<script setup>
// Redirect to /tabs/home
useIonRouter().push('/tabs/home');
</script>
4 changes: 3 additions & 1 deletion pages/tabs/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!-- @format -->

<template lang="pug">
h1 home Tab
ionPage
ionContent
h1 home Tab
</template>
4 changes: 3 additions & 1 deletion pages/tabs/Schedule.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!-- @format -->

<template lang="pug">
h1 this page is for scheduling
ionPage
ionContent
h1 this page is for scheduling
</template>
25 changes: 4 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.