feat 设置page
This commit is contained in:
2
.vscode/extensions.json
vendored
2
.vscode/extensions.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"antfu.vite",
|
||||
// "antfu.vite",
|
||||
"antfu.iconify",
|
||||
"antfu.unocss",
|
||||
"vue.volar",
|
||||
|
||||
@@ -8,6 +8,6 @@ definePage({
|
||||
|
||||
<template>
|
||||
<view>
|
||||
<h1>你好</h1>
|
||||
<h1>报告</h1>
|
||||
</view>
|
||||
</template>
|
||||
13
src/pages/work/index.vue
Normal file
13
src/pages/work/index.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<script lang="ts" setup>
|
||||
definePage({
|
||||
layout: false,
|
||||
})
|
||||
|
||||
// const { value: name } = useQuery('name')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view>
|
||||
<h1>压实作业</h1>
|
||||
</view>
|
||||
</template>
|
||||
5
src/uni-pages.d.ts
vendored
5
src/uni-pages.d.ts
vendored
@@ -4,8 +4,9 @@
|
||||
// Generated by vite-plugin-uni-pages
|
||||
|
||||
type _LocationUrl =
|
||||
"/pages/index" |
|
||||
"/pages/hi";
|
||||
"/pages/home/index" |
|
||||
"/pages/report/index" |
|
||||
"/pages/work/index";
|
||||
|
||||
interface NavigateToOptions {
|
||||
url: _LocationUrl;
|
||||
|
||||
Reference in New Issue
Block a user