initial commit
This commit is contained in:
commit
392e9dec12
17 changed files with 418 additions and 0 deletions
16
pages/about.vue
Normal file
16
pages/about.vue
Normal file
|
@ -0,0 +1,16 @@
|
|||
<script setup lang="ts">
|
||||
const route = useRoute()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<h1>
|
||||
Nuxt Routing set up successfully!
|
||||
</h1>
|
||||
<p>Current route: {{ route.path }}</p>
|
||||
<a
|
||||
href='https://nuxt.com/docs/getting-started/routing'
|
||||
target='_blank'
|
||||
>Learn more about Nuxt Routing</a>
|
||||
</div>
|
||||
</template>
|
14
pages/index.vue
Normal file
14
pages/index.vue
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
const route = useRoute()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<h1 c-text>
|
||||
Nuxt Routing set up successfully!
|
||||
</h1>
|
||||
<p c-subtext>
|
||||
Current route: {{ route.path }}
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue