Skip to content

Commit

Permalink
fix: 📈 修复入口页面模块引用格式不统一的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Sep 8, 2023
1 parent d3a5ac5 commit bd72731
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { createSSRApp } from 'vue'

import 'virtual:uno.css'
import './styles/index'
import './styles/index.js'

import App from './App.vue'

import store from './store/index'
import router from './router/index'
import store from './store/index.js'
import router from './router/index.js'
import routerGuards from './router/guards/index.js'

import api from './api/index'
import plugins from './plugins'
import api from './api/index.js'
import plugins from './plugins/index.js'
import mixins from './mixins/index.js'

import ViaIcon from './icons/components/ViaIcon/index.vue'
Expand All @@ -19,8 +19,8 @@ import _showDictLabel from './utils/showDictLabel.js'

// 为 remote 时使用远程静态资源 常用于小程序
// 为 local 时使用本地静态资源
// import { useAssets } from './utils/assets/remote'
import { useAssets } from './utils/assets/local'
// import { useAssets } from './utils/assets/remote.js'
import { useAssets } from './utils/assets/local.js'

export function createApp() {
const app = createSSRApp(App)
Expand Down

0 comments on commit bd72731

Please sign in to comment.