main.uts 247 B

12345678910111213
  1. import App from './App.uvue'
  2. import { createSSRApp } from 'vue'
  3. import Vant, { Lazyload } from 'vant'
  4. import 'vant/lib/index.css';
  5. export function createApp() {
  6. const app = createSSRApp(App)
  7. app.use(Lazyload)
  8. app.use(Vant)
  9. return {
  10. app
  11. }
  12. }