main.ts 349 B

123456789101112131415
  1. import { createSSRApp } from "vue";
  2. import App from "./App.vue";
  3. import uvUI from '@climblee/uv-ui'
  4. import CustomService from '@/components/custom-service/index.vue'
  5. export function createApp() {
  6. const app = createSSRApp(App);
  7. app.use(uvUI);
  8. /* 全局注册 */
  9. app.component('custom-service', CustomService)
  10. return {
  11. app,
  12. };
  13. }