Justineo / vue-awesome

Awesome SVG icon component for Vue.js, built-in with Font Awesome icons.
https://justineo.github.io/vue-awesome/demo/
MIT License
2.43k stars 211 forks source link

Missing style from library #205

Open denisov-k opened 2 years ago

denisov-k commented 2 years ago

After adding library in my project, it's correct importing chunks, except part of style. I tried to add dependency in transpileDependencies, but it didn't help.

Version of dependencies: "vue": "^2.6.12" "vue-awesome": "^4.5.0", "vue-template-compiler": "^2.6.14" "@vue/cli-service": "^5.0.1"

Really need help, maybe somebody could suggest, what a mistake I do. Thank you!

dword-design commented 2 years ago

Same problem here

licoded commented 1 year ago

Switch to vue-awesome@4.3.1 should solve this problem. The following code added to support SSR caused the problem:

https://github.com/Justineo/vue-awesome/blob/master/rollup.config.js#L20

I also find that docs of rollup-plugin-vue, which is used to bundle sfc, mentions this issue. But I don't know how to fix it.