clash-manager/vue.live.js

26 lines
752 B
JavaScript
Raw Normal View History

2022-09-28 18:57:11 +08:00
import { resolve } from 'path'
2022-09-30 18:22:03 +08:00
// let pages =
2022-09-28 18:57:11 +08:00
export default {
port: 6677,
2022-09-30 18:22:03 +08:00
pages: {
index: {
entry: resolve('./src/main.js'),
title: ''
}
},
2022-09-28 18:57:11 +08:00
imports: {
vue: '//esm.tool/vue.js',
'vue-router': '//esm.tool/vue-router.js',
2022-09-30 18:22:03 +08:00
'element-plus': '//esm.tool/elem-plus.js',
2022-09-28 18:57:11 +08:00
'element-ui': '//esm.tool/elem-plus.js',
fetch: '//esm.tool/fetch.js',
'vue-echarts': '//esm.tool/vue-echarts.js',
'echarts/core': 'https://unpkg.com/echarts@5.3.3/dist/echarts.esm.min.js',
'echarts/lib/chart/line': 'https://unpkg.com/echarts@5.3.3/dist/echarts.esm.min.js',
'vue-demi': 'https://unpkg.com/vue-demi@0.13.11/lib/index.mjs',
'resize-detector': 'https://unpkg.com/resize-detector@0.3.0/esm/index.js'
}
}