master
yutent 2022-09-30 18:22:03 +08:00
parent 9d51317b99
commit 7ce34d1020
2 changed files with 27 additions and 2 deletions

18
index.html Normal file
View File

@ -0,0 +1,18 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>{{title}}</title>
<meta name="keywords" content="{{keywords}}">
<meta name="description" content="{{description}}">
<link rel="stylesheet" href="//unpkg.yutent.top/@bytedo/wcui/dist/css/reset-basic.css">
<script async src="//esm.tool/es-module-shims.wasm.js"></script>
<script type="importmap">{{importmap}}</script>
</head>
<body>
<div class="app"></div>
<script src="main.js"></script>
</body>
</html>

View File

@ -1,12 +1,19 @@
import { resolve } from 'path'
// let pages =
export default {
port: 6677,
pages: resolve('./src/pages'),
pages: {
index: {
entry: resolve('./src/main.js'),
title: ''
}
},
imports: {
vue: '//esm.tool/vue.js',
'vue-router': '//esm.tool/vue-router.js',
'elem-plus': '//esm.tool/elem-plus.js',
'element-plus': '//esm.tool/elem-plus.js',
'element-ui': '//esm.tool/elem-plus.js',
fetch: '//esm.tool/fetch.js',
'vue-echarts': '//esm.tool/vue-echarts.js',