Closed christian-nils closed 4 years ago
Thanks! Are you willing to do a PR? Add a FAQ section right before Contribute and add your issue link there?
Ok, this was the first time I do a PR. So hopefully, it was correct and useful. Have a great day! And thanks for this library.
Hi,
I spent some time on an issue that I had with my slides. I could not render correctly my code using the CodeBlock widgets.
I used the version 4 of Vue-CLI to create my project. Eagle.js (v.0.6.0) is installed as dependency via
npm
.For instance, if I have the following code in my slide:
My slide will show
git clone https://github.com/Zulko/eaglejs-demo.git cd eaglejs-demo npm install npm run dev
instead of:Apparently Vue-CLI team modified the options of whitespace from Vue-CLI v3 to v4. So you need to add in the vue.config.js file the following code (see https://github.com/vuejs/vue/issues/10485#issuecomment-528729861) to get the expected behavior:
I hope it helps.