Comments (1)
export default {
doc: {
title: "father's doc", // notice we have a ' here
},
}
Then you will get crash like this:
ᕙ(⇀‸↼‵‵)ᕗ
This problem is happended at umi-plugin-father-doc/src/index.ts#L95
I try to fix this bug by the way but failed.
Both opts.title.replace('\'', '\\'')
and escapeHTML(opts.title)
can't slove the problem.
I'm too tired, so there is no PR but issue leave to you. : )
from dumi.
Related Issues (20)
- bug: defineApp 未导出 HOT 1
- bug: defineApp 未导出
- feat: default order of docs more friendly for human HOT 5
- bug: sidebar激活的锚点不对 HOT 1
- feat: Markdown里支持通过变量替换文本 HOT 2
- bug: When customizing the `resolve.docDirs` directory, .md files under the node_modules file are not ignored in Monorepo project HOT 2
- 使用worker-loader,出现报错Module not found: Error: Can't resolve 'mf/worker-loader' HOT 2
- bug: 通过 `resolve.atomDirs` 指定多个资产路径时,Demo 无法正常显示。
- feat: 希望支持vite+react-ts HOT 1
- feat: dumi2 的 自动API表格 生成太慢了,热更新也很慢 HOT 2
- bug: useRouteMatch was not found in 'react-router' HOT 1
- feat:umi4集成模式 HOT 2
- bug: npx create-dumi初始化项目失败 HOT 2
- feat: Dumi 支不支持Taro ? HOT 4
- bug: md中代码块的import/export无法通过编译 HOT 1
- feat: dumi2集成umi4什么时候支持 HOT 3
- feat: 所有Demo想公用一个组件(非组件库的)只是用来纯展示,dumi2支持吗 HOT 2
- bug: 当开启apiParser的时候,修改组件代码会导致崩溃 HOT 1
- feat: 支持api文档站搭建吗?dumi更多是搭建前端组件库使用? HOT 3
- bug: SCRIPT1028: Expected identifier, string or number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dumi.