We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
import Dialog from '@vant/weapp/dialog/dialog'; 编译报错:Error [RollupError]: Could not resolve entry module "@vant/weapp/dialog/dialog".
import Dialog from '@vant/weapp/dialog/dialog';
改成 import Dialog from '@vant/weapp/dist/dialog'; 编译通过,但是微信开发者工具报错:
import Dialog from '@vant/weapp/dist/dialog';
The text was updated successfully, but these errors were encountered:
解决办法: import Dialog from '@vant/weapp/lib/dialog/dialog.js';
Sorry, something went wrong.
bfad544
create-vue-mini v1.2.2 已经支持,不会再报错。
No branches or pull requests
import Dialog from '@vant/weapp/dialog/dialog';
编译报错:Error [RollupError]: Could not resolve entry module "@vant/weapp/dialog/dialog".
改成

import Dialog from '@vant/weapp/dist/dialog';
编译通过,但是微信开发者工具报错:
The text was updated successfully, but these errors were encountered: