You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { createApp } from 'vue';
|
|
|
|
import App from '/@/App.vue';
|
|
|
|
import { saasInit } from '/nerv-lib/saas';
|
|
|
|
import { apiModule } from '/@/api';
|
|
|
|
import { appConfig } from '/@/config';
|
|
|
|
import './theme/global.less';
|
|
|
|
import { LeftOutlined } from '@ant-design/icons-vue';
|
|
|
|
import { setupGlobDirectives } from '/@/directives';
|
|
|
|
|
|
|
|
const app = createApp(App);
|
|
|
|
app.component('LeftOutlined', LeftOutlined);
|
|
|
|
|
|
|
|
// Register global directive
|
|
|
|
// 注册全局指令
|
|
|
|
setupGlobDirectives(app);
|
|
|
|
|
|
|
|
saasInit({
|
|
|
|
app,
|
|
|
|
apiModule,
|
|
|
|
appConfig,
|
|
|
|
});
|
|
|
|
app.mount('#app');
|