-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering problem in Vue ES Module #29
Comments
Can you show me code of |
I'am sorry
|
Ok, that's fine. module.exports = {
...
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js',
},
},
...
} Then all code that imports Vue will use the same build version. |
Hi, I thought i will write here as i am getting the same error instead of starting a new issue. I am getting the same error. All i added is the following
am i missing anything? |
Hi, @zakst ! Your code looks right. Are you building rails app with webpacker? |
Hello @ghettovoice I am building a I also tried adding the following in the
|
Hmm, config looks good. Can you make test repo with your project setup, so I can deploy it locally? |
That will be great!, will do so once back to my machine. |
Yes, vuelayers depends on openlayers, it should be loaded by webpack automatically. |
I thought of trying something out and it got rid of all the errors although the map is just not loading. Attached is the errors that I am going to try a couple of things before creating the repo. Problem is there is no map at all. |
I kept the code as is with the Thanks @ghettovoice |
That's good! Seems like broken npm cache or inconsistent packages versions. |
Not working if use Vue ES Module
example:
I got in browser error like:
But if use Vue runtime module work fine
but css styles in component TpMap not working
maybe in runtime mode styles in components not compilng
How i may fix this problem?
The text was updated successfully, but these errors were encountered: