src/views/test.vue
@@ -1,4 +1,19 @@ <template> <div>hello test page</div> <div class="test"> {{a}} <button @click="actionA">点我呀</button> </div> </template> <script lang="ts" setup> import {ref,reactive,watchEffect,watch} from 'vue' import usePage from './vuetool/index.js' const {a,actionA} = usePage() </script> <style> .paibanclass{ background: rgb(228, 231, 225); color: blue; } </style>