opentiny/fluent-editor

🐛 [Bug]: demo 直接拷贝无法运行,报错:Internal server error: Missing "./style.scss" specifier in "@opentiny/fluent-editor" package

Closed this issue · 1 comments

kagol commented

Version

latest

Link to minimal reproduction

demo里的代码包含引入 style.scss 的代码,开发者如果直接拷贝demo代码将无法运行。

image

Step to reproduce

同上

What is expected

No response

What is actually happening

No response

What is your project name

Demo

Any additional comments (optional)

No response

kagol commented

由于快速开始的文档里已经写明了需要引入样式:

@import '@opentiny/fluent-editor/style.css';

所以用户的代码里应该已经导入了style.css,demo的代码里不需要出现 import '@opentiny/fluent-editor/style.css'

见 PR #60