Merge branch 'develop'
This commit is contained in:
commit
f4ad0e2208
@ -18,6 +18,6 @@ export default defineConfig({
|
|||||||
routes,
|
routes,
|
||||||
npmClient: 'pnpm',
|
npmClient: 'pnpm',
|
||||||
define: {
|
define: {
|
||||||
APP_ENV: process.env.APP_ENV || 'development',
|
APP_ENV: process.env.NODE_ENV || 'production',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
const routes = [
|
const routes = [
|
||||||
|
{
|
||||||
|
name: 'home',
|
||||||
|
path: '/',
|
||||||
|
redirect: '/material/home',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'cabinet',
|
name: 'cabinet',
|
||||||
path: '/cabinet/*',
|
path: '/cabinet/*',
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"author": "dev <710328466@qq.com>",
|
"author": "dev <710328466@qq.com>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:master": "max build",
|
"build:master": "cross-env APP_ENV=production max build",
|
||||||
"comp": "cross-env max g component",
|
"comp": "cross-env max g component",
|
||||||
"dev": "max dev",
|
"dev": "max dev",
|
||||||
"format": "prettier --cache --write .",
|
"format": "prettier --cache --write .",
|
||||||
|
Loading…
Reference in New Issue
Block a user