init
This commit is contained in:
3
src/pages/index/index.config.ts
Normal file
3
src/pages/index/index.config.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '首页'
|
||||
})
|
||||
0
src/pages/index/index.scss
Normal file
0
src/pages/index/index.scss
Normal file
20
src/pages/index/index.vue
Normal file
20
src/pages/index/index.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<view class="index">
|
||||
<text>{{ msg }}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from "vue";
|
||||
import "./index.scss";
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
const msg = ref("Hello world");
|
||||
|
||||
return {
|
||||
msg,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user