Closed Ariesly closed 1 year ago
Please check if your package is correct, as it seems to be running fine on my end.
Please check if your package is correct, as it seems to be running fine on my end.
Yes, it's a package problem, and it's solved by adding vue2.7 to the npm alias
...
"scripts": {
...
"build:2.7": "vue-demi-switch 2.7 vue2.7 && ..."
...
},
...
"devDependencies": {
...
"vue2.7": "npm:vue@2.7",
...
}
Why v2.7 need exports warn And v2 and v3 do not need? Is it necessary? Can we remove it
lib/v2.7/index.cjs lib/v2.7/index.d.ts lib/v2.7/index.mjs
Reproduction: https://github.com/Ariesly/vue-demi-component-template