@@ -24,3 +24,4 @@ dist-ssr
*.sw?
src/*.d.ts
+/.idea/
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
- <title>ಥ_ಥ</title>
+ <title>桐乡艺校</title>
</head>
<body>
<div id="app"></div>
@@ -5,6 +5,9 @@
<template>
<router-view></router-view>
</template>
+<style lang="scss">
+@import "@/styles/mixin.scss";
+</style>
@@ -0,0 +1,13 @@
+<template>
+<div>首页</div>
+</template>
+
+<script>
+export default {
+ name: "index"
+}
+</script>
+<style scoped>
@@ -3,7 +3,15 @@ import { createRouter, createWebHashHistory } from "vue-router";
export default createRouter({
history: createWebHashHistory(),
routes: [
-
+ {
+ path: '/',
+ redirect: '/home'
+ },
+ path: '/home',
+ title:'首页',
+ component: () => import("~/pages/home/index.vue"),
]
})