init
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { defineConfig } from "umi";
|
||||
import { defineConfig } from "@umijs/max";
|
||||
|
||||
export default defineConfig({
|
||||
routes: [
|
||||
{ path: "/", component: "index" },
|
||||
{ path: "/docs", component: "docs" },
|
||||
],
|
||||
npmClient: 'yarn',
|
||||
// 最小化有效配置
|
||||
history: { type: 'hash' },
|
||||
plugins: [],
|
||||
// 禁用MFSU功能
|
||||
mfsu: false,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user