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

如何引入第三方库并打包 #39

Open
dyh333 opened this issue Jun 13, 2019 · 3 comments
Open

如何引入第三方库并打包 #39

dyh333 opened this issue Jun 13, 2019 · 3 comments
Labels

Comments

@dyh333
Copy link

dyh333 commented Jun 13, 2019

请问下 我想引入dayjs用于处理一些时间转换。如图所示:
image

但是发现打包时报错:
image

请问下如何解决

@proYang
Copy link
Owner

proYang commented Jun 13, 2019

明天帮你看下:grin:

@dyh333
Copy link
Author

dyh333 commented Jun 17, 2019

help!

@proYang
Copy link
Owner

proYang commented Jun 18, 2019

我这边试了下是可以的,猜测是没有依赖dayjs,应该安装一下依赖就好了:smile: @dyh333

npm install --save dayjs

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

No branches or pull requests

2 participants