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

ueditor打包 #2

Closed
yangM00A opened this issue Sep 19, 2017 · 1 comment
Closed

ueditor打包 #2

yangM00A opened this issue Sep 19, 2017 · 1 comment

Comments

@yangM00A
Copy link

你好,我照着你的项目,在自己的项目中,将ueditor,创建问全局组件,但是现在我打包的时候,ueditor依赖的css都打包不上,我看见你的项目dist中直接将ueditor依赖的自己放在了static中。难道是打包后,直接将ueditor依赖的资源放在打包后的dist中??有没有一起打包的方法?

@suweiteng
Copy link
Owner

@kingyangmeng
你好,static中的资源是不参与打包的,是有意为之。这些资源不参与打包是有意为之。因为,不打包的情况下,这些资源才方便挂CDN,方便被多页面应用引用,方便缓存;
如果想让参与这些资源参与打包,可以换一下引用方式 或者 搜索下npm版本的ueditor。

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

No branches or pull requests

2 participants