vue-design-system
vue-design-system copied to clipboard
Getting vue loader error after import
I have modified the default Design System, adding one single component (which imports an svg file from the assets folder).
After running the system:build command and importing the system into my Vue project, I get the following error in my console:
Error: Module build failed (from ./node_modules/vue-loader/lib/index.js):
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
at loadTemplateCompiler (/Users/code/Desktop/Edgeryders/ER_Design_System/node_modules/vue-loader/lib/index.js:21:11)
at Object.module.exports (/Users/code/Desktop/Edgeryders/ER_Design_System/node_modules/vue-loader/lib/index.js:65:35)
The odd thing is no errors came up before I made any modifications to the system - it worked normally. I have checked the installation of vue-template-compiler and it is installed as a peer dependency with the same versioning number as Vue (2.5.1.7). Any ideas?