Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 去除 模版必须引入 setupDevui 文件的限制 #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

vaebe
Copy link

@vaebe vaebe commented Oct 25, 2022

去除前

截屏2022-10-25 上午10 43 46

去除后

截屏2022-10-25 上午10 44 24

这样后续可以做 组件的在线编辑

@vaebe
Copy link
Author

vaebe commented Oct 25, 2022

http://localhost:2022/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8ZC1mb3JtIDpkYXRhPVwiZm9ybU1vZGVsXCI+XG4gICAgPGQtZm9ybS1pdGVtIGZpZWxkPVwibmFtZVwiIGxhYmVsPVwiTmFtZVwiIGhlbHAtdGlwcz1cIlRoaXMgaXMgdGhlIHBsYW4gbmFtZS5cIiBleHRyYS1pbmZvPVwiRW50ZXIgYSBzaG9ydCBuYW1lIHRoYXQgbWVldHMgcmVhZGluZyBoYWJpdHMuXCI+XG4gICAgICA8ZC1pbnB1dCB2LW1vZGVsPVwiZm9ybU1vZGVsLm5hbWVcIiAvPlxuICAgIDwvZC1mb3JtLWl0ZW0+XG4gICAgPGQtZm9ybS1pdGVtIGZpZWxkPVwiZGVzY3JpcHRpb25cIiBsYWJlbD1cIkRlc2NyaXB0aW9uXCI+XG4gICAgICA8ZC10ZXh0YXJlYSB2LW1vZGVsPVwiZm9ybU1vZGVsLmRlc2NyaXB0aW9uXCIgLz5cbiAgICA8L2QtZm9ybS1pdGVtPlxuICAgIDxkLWZvcm0taXRlbSBmaWVsZD1cInNlbGVjdFwiIGxhYmVsPVwiU2VsZWN0XCI+XG4gICAgICA8ZC1zZWxlY3Qgdi1tb2RlbD1cImZvcm1Nb2RlbC5zZWxlY3RcIiA6b3B0aW9ucz1cInNlbGVjdE9wdGlvbnNcIiAvPlxuICAgIDwvZC1mb3JtL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0aW9uczInLCAnT3B0aW9uczMnXSk7XG4gICAgcmV0dXJuIHtcbiAgICAgIGZvcm1Nb2RlbCxcbiAgICAgIHNlbGVjdE9wdGlvbnMsXG4gICAgfTtcbiAgfSxcbn0pO1xuPC9zY3JpcHQ+XG5cbjxzdHlsZT5cbi5mb3JtLWRlbW8tZm9ybS1vcGVyYXRpb24gPiAqIHtcbiAgbWFyZ2luLXJpZ2h0OiA4cHg7XG59XG48L3N0eWxlPiJ9

上边是格式化的文本 替换id后可进行预览

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant