You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.1 KiB
JavaScript
52 lines
2.1 KiB
JavaScript
|
6 months ago
|
import App from './App'
|
||
|
|
|
||
|
|
import gEmpty from './components/empty.vue';
|
||
|
|
import gLoading from './components/loading.vue';
|
||
|
|
import gButton from './components/button.vue';
|
||
|
|
import gListJob from './components/list/job.vue';
|
||
|
|
import gListApply from './components/list/apply.vue';
|
||
|
|
import gPanelServer from './components/panel/server.vue';
|
||
|
|
import gPanelImage from './components/panel/defaultImage.vue';
|
||
|
|
import gPanelFormItem from './components/panel/formItem.vue';
|
||
|
|
import gPanelFormSlot from './components/panel/formSlot.vue';
|
||
|
|
import gPanelCardNum from './components/panel/numCard.vue';
|
||
|
|
import gPanelCardInfo from './components/panel/infoCard.vue';
|
||
|
|
import gPanelHr from './components/panel/hr.vue';
|
||
|
|
import gPanelFond from './components/panel/fond.vue';
|
||
|
|
import gPanelAbout from './components/panel/about.vue';
|
||
|
|
import gPanelDetailItem from './components/panel/detailItem.vue';
|
||
|
|
import gPanelRecord from './components/panel/record.vue';
|
||
|
|
import gPanelTime from './components/panel/time.vue';
|
||
|
|
import gPanelTabbar from './components/panel/tabbar.vue';
|
||
|
|
import gPanelFixed from './components/panel/fixed.vue';
|
||
|
|
|
||
|
|
// #ifdef VUE3
|
||
|
|
import { createSSRApp } from 'vue'
|
||
|
|
export function createApp() {
|
||
|
|
const app = createSSRApp(App)
|
||
|
|
app.config.productionTip = false;
|
||
|
|
|
||
|
|
app.component('g-empty', gEmpty);
|
||
|
|
app.component('g-loading', gLoading);
|
||
|
|
app.component('g-button', gButton);
|
||
|
|
app.component('g-list-job', gListJob);
|
||
|
|
app.component('g-list-apply', gListApply);
|
||
|
|
app.component('g-panel-server', gPanelServer);
|
||
|
|
app.component('g-panel-image', gPanelImage);
|
||
|
|
app.component('g-panel-form-item', gPanelFormItem);
|
||
|
|
app.component('g-panel-form-slot', gPanelFormSlot);
|
||
|
|
app.component('g-panel-card-num', gPanelCardNum);
|
||
|
|
app.component('g-panel-card-info', gPanelCardInfo);
|
||
|
|
app.component('g-panel-hr', gPanelHr);
|
||
|
|
app.component('g-panel-fond', gPanelFond);
|
||
|
|
app.component('g-panel-about', gPanelAbout);
|
||
|
|
app.component('g-panel-detail-item', gPanelDetailItem);
|
||
|
|
app.component('g-panel-record', gPanelRecord);
|
||
|
|
app.component('g-panel-time', gPanelTime);
|
||
|
|
app.component('g-panel-tabbar', gPanelTabbar);
|
||
|
|
app.component('g-panel-fixed', gPanelFixed);
|
||
|
|
return {
|
||
|
|
app
|
||
|
|
}
|
||
|
|
}
|
||
|
|
// #endif
|