mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-22 11:26:35 +08:00
feat: add orange-ci and
This commit is contained in:
parent
def496aff8
commit
9811a061b6
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>TDesign Pro</title>
|
||||
<title>TDesign Pro Vue3</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
export default {
|
||||
production: {
|
||||
// 开发环境接口请求
|
||||
host: 'https://service-exndqyuk-1257786608.gz.apigw.tencentcs.com',
|
||||
// 开发环境 cdn 路径
|
||||
cdn: '',
|
||||
},
|
||||
development: {
|
||||
// 开发环境接口请求
|
||||
host: 'https://service-exndqyuk-1257786608.gz.apigw.tencentcs.com',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
||||
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
|
||||
import routeConfig from '@/config/routes';
|
||||
|
||||
const layoutModules = import.meta.glob('../Layouts/*');
|
||||
|
@ -31,7 +31,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(''),
|
||||
history: createWebHashHistory(),
|
||||
routes,
|
||||
scrollBehavior() {
|
||||
return {
|
||||
|
|
|
@ -15,5 +15,5 @@
|
|||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["**/*.ts", "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/config/proxy.ts", "src/pages/detail/base/index.js"]
|
||||
"include": ["**/*.ts", "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ const path = require('path');
|
|||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.resolve(__dirname, './'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user