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