1 Star 0 Fork 0

NativeBase/jui-icons

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.umirc.ts 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
NativeBase 提交于 2024-12-02 02:23 . 📃 docs:
import type WebpackChain from 'webpack-chain'
import { defineConfig } from 'dumi'
import path from 'path'
const repo = process.env.PUBLIC_PATH || ''
export default defineConfig({
chainWebpack(memo: WebpackChain) {
memo.plugins.delete('copy')
},
title: '图标库',
mode: 'site',
outputPath: 'docs-dist',
hash: true,
favicon: 'https://avatars.githubusercontent.com/u/74942048',
logo: 'https://avatars.githubusercontent.com/u/74942048',
base: `/${repo}`,
publicPath: `/${repo}`,
exportStatic: {}, // 将所有路由输出为 HTML 目录结构,以免刷新页面时 404
apiParser: {
propFilter: {
// 是否忽略从 node_modules 继承的属性,默认值为 false
skipNodeModules: true,
},
},
navs: [
{
title: '指南',
path: '/guide',
},
{
title: '组件',
path: '/component',
},
],
resolve: {
includes: ['docs'],
},
locales: [['zh-CN', '中文']],
styles: [],
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es', // default: lib
style: true,
},
'antd',
],
],
alias: {
'@tarojs/components': path.resolve(__dirname, './mock/taro.tsx'),
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/NativeBase/jui-icons.git
git@gitee.com:NativeBase/jui-icons.git
NativeBase
jui-icons
jui-icons
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385