i
This commit is contained in:
17
src/app.ts
17
src/app.ts
@@ -1,9 +1,14 @@
|
||||
import { createApp } from 'vue'
|
||||
import './app.scss'
|
||||
import { createApp } from "vue";
|
||||
import { createPinia } from 'pinia'
|
||||
import "./app.scss";
|
||||
|
||||
|
||||
const App = createApp({
|
||||
onShow (options) {},
|
||||
// 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖
|
||||
})
|
||||
onLaunch() {},
|
||||
onShow() {},
|
||||
// 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖
|
||||
});
|
||||
|
||||
export default App
|
||||
App.use(createPinia())
|
||||
|
||||
export default App;
|
||||
|
||||
Reference in New Issue
Block a user