Closed mokone91 closed 3 years ago
upd: Originally components lib done in vue2, if i change my dev deps like:
-"@vue/composition-api": "^1.0.4",
+"@vue/compiler-sfc": "^3.1.5",
-"vue": "^2.6.4",
+"vue": "^3.1.5",
-"vue-loader": "^15.9.6",
+"vue-loader": "^16.3.3",
-"vue-template-compiler": '2.6.14',
Its going to work in vue3 env, but broken in vue2 with:
seems like vue bundled in even if i put it to externals
upd: as i can see in bundle analyzer - there is vue-style-loader bundled only
upd: After removing all 'scoped' keywords start getting next error:
Hi! im working on components lib and truing to make it vue2/3 compatible using this solution. But i faced with issue with vue3 installation.. in vue2 env everything working fine! Here is my build webpack config:
on client side im using default vue-cli-service serve^ without additional settings but in vue3 environment i got:
seems problem somewhere near webpack build config, maybe somebody can share some webpack config examples? Thanks!