diff --git a/generators/app/templates/config/config.ts b/generators/app/templates/config/config.ts index d57a8c6..19ca26e 100644 --- a/generators/app/templates/config/config.ts +++ b/generators/app/templates/config/config.ts @@ -1,14 +1,11 @@ import { defineConfig } from 'umi' -import theme from './theme' - export default defineConfig({ hash: true, mock: { exclude: ['mock/**/_*.[jt]s'] }, antd: {}, - theme, locale: { antd: true, title: true diff --git a/generators/app/templates/config/theme.ts b/generators/app/templates/config/theme.ts deleted file mode 100644 index d71ddcb..0000000 --- a/generators/app/templates/config/theme.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default { - '@primary-color': '#1991eb' -} diff --git a/package.json b/package.json index 282875b..27e1c70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-umi", - "version": "4.4.0", + "version": "4.4.1", "description": "umi project generator", "scripts": { "docs:dev": "vuepress dev docs",