测试

parent 71b09cef
import { createSSRApp } from 'vue'; import { createSSRApp } from 'vue';
import App from './App.vue'; import App from './App.vue';
import store from './store'; import store from './store';
import router from "./router";
export function createApp() { export function createApp() {
const app = createSSRApp(App); const app = createSSRApp(App);
app.use(store); app.use(store);
app.use(router);
return { return {
app, app,
}; };
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
}, },
"pages": [ // pages 数组中第一项表示应用启动页 "pages": [ // pages 数组中第一项表示应用启动页
{ {
"path": "pages/test/index", "path": "pages/index",
"style": { "style": {
"navigationBarTitleText": "小程序平台" "navigationBarTitleText": "小程序平台"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment