mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
test
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
||||
import HomeView from '../views/HomeView.vue';
|
||||
import IndexView from '../views/IndexView.vue';
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: HomeView,
|
||||
component: IndexView,
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="about">
|
||||
<h1>This is an about page</h1>
|
||||
<h1>This is an about page for Vtsuru.live</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
9
src/views/IndexView.vue
Normal file
9
src/views/IndexView.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<n-button>
|
||||
Hello
|
||||
</n-button>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { NButton } from 'naive-ui'
|
||||
</script>
|
||||
Reference in New Issue
Block a user