-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Multiple module with babel-plugin-component: #1603
Comments
Old no-nuxt project work fine use this .babelrc file {
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"],
"node": true
}
}],
"stage-2"
],
"plugins": [
"transform-runtime", ["component", [{
"libraryName": "element-ui",
"styleLibraryName": "theme-default"
}, {
"libraryName": "mint-ui",
"style": true
}]]
],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["istanbul"]
}
}
}
|
Look forward to more support |
Are you using the last version of Nuxt.js and babel-plugin-component? |
Yes,I' m sure. |
Could you create a small reproduction repo so I can see where the problem is? |
There are some upstream new issues that need to be fixed at first. repo: https://github.com/yoyo837/nuxt.js-issues-1603 |
Look forward to more support |
Look forward to more support |
I try this way
But it does not seem to support multiple module? |
依然存在此问题~ |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
#1356
However, it does not seem to support multiple module
babel-plugin-component#multiple-module
and
work fine!
The text was updated successfully, but these errors were encountered: