app.js
670 Bytes
/*
* @Date: 2022-09-19 14:11:05
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-09-21 09:49:03
* @FilePath: /swx/src/app.js
* @Description: 文件描述
*/
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './app.less'
import '@/components/vant-weapp/common/index.wxss'
const App = createApp({
// 可以使用所有的 Vue 生命周期方法
mounted () {},
// 对应 onLaunch
onLaunch () {},
// 对应 onShow
onShow (options) {},
// 对应 onHide
onHide () {},
// 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖
})
App.use(createPinia())
export default App