- installed Buefy according to instructions https://buefy.github.io/documentation/start via yarn
- Vue js app created with Vue CLI 3
- We are using code splitting to code split deps for each page into its own chunk
- Run
yarn serve
to serve locally
When I try to navigate to any page (any different route) other than the login page, I see the errors in the console. It appears the error that keeps it from rendering is the Syntax Error getting thrown on one of Buefy's files.
- removing all references to Buefy. This didn't really help bc we use it everywhere and I just get errors about it not finding the buefy component whenever it gets instantiated.
- Googling error - can't seem to find anyone with same issue.
- Maybe some part of Buefy is incompatible with IE11? But the components all load in IE11 if you view on their webpage... https://buefy.github.io/documentation/start
- IE doesn't support promises. This should be covered by the vue CLI and .browserlistrc settings for target browsers https://forum.vuejs.org/t/production-issue-vue-app-is-not-working-loading-in-internet-explorer/19854
@akuehnis - so I actually figured out what was causing the error in my case! Its kind of funny actually. It turned out the error was that I was using @import to import the buefy dependencies and then using them like or whatever in the code. The problem is that I was @import'ing files from /src that were not run through babel or anything, so they had es6 code in them that IE choked on. Since buefy is registered globally you don't have to @import the components to use them - you can just straight up use them in your template code after telling Vue to Vue.use(Buefy) once. SO after you've done that use and it should all work in IE.
Were you having this error with Buefy also? If so I'm surprised downgrading vue CLI would do anything to help...