Skip to content

Commit 18f2c02

Browse files
committed
fix: revise inspection comments
1 parent 3a177ee commit 18f2c02

File tree

1 file changed

+1
-1
lines changed
  • examples/sites/demos/pc/webdoc

1 file changed

+1
-1
lines changed

examples/sites/demos/pc/webdoc/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (window.__POWERED_BY_WUJIE__) {
1717
}
1818
```
1919

20-
## 2、在 `Vitepress` 项目中,引用 `opentiny` 组件包,使用 `Vitepress` 打包命令:`pnpm docs:build`,导致报错:`ERR_UNSUPPORTED_DIR_IMPORT`
20+
## 2、在 `Vitepress` 项目中,引用 `Opentiny` 组件包,使用 `Vitepress` 打包命令:`pnpm docs:build`,导致报错:`ERR_UNSUPPORTED_DIR_IMPORT`
2121

2222
**原因:** 找不到组件包内引用相关文件的 `js/css/...` 等后缀路径,报错语句:`Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import 'xxx' is not supported resolving ES modules imported from xxx/lib/index.js`
2323

0 commit comments

Comments
 (0)