-
Notifications
You must be signed in to change notification settings - Fork 1.5k
trouble with erb-loader, is not working with .vue.erb files #1297
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
Comments
Have you read #1256? Does it solve your issue? |
No I still end up with:
But it did made me change some things, so namely, runned
I didn't make anything regarding the "At .vue" prescribed action, as I didn't thought I was concerned with this one. |
I also tried to move |
Got it, it seems that So the following works fine: import App from './app.vue.erb' |
thank you @ytbryan your hint helped me a lot. 👍 |
😄👍 |
As far as I'm concerned, the issue can be closed, but I don't know if this ok that I do that myself in this project. |
thanks @ytbryan |
Uh oh!
There was an error while loading. Please reload this page.
Similar with #498 but the then applied merged code doesn't seem to work on my intance.
Here is what I'm running:
Here are the file I'm trying to use to test
.vue.erb
:In
app/views/layouts/application.html.erb
in
app/javascript/packs/application.js.erb
(doesn't matter here, butjs.erb
does compile well here)And finaly
app/javascript/packs/app.vue
:As this, it does work, but moving
app/javascript/packs/app.vue
toapp/javascript/packs/app.vue.erb
doesn't work:It works, I do see my hello in the browser console.
Finally here is the
config/webpack/loaders/vue.js
:Let me know if you need more information of if you have an idea about what I missed.
The text was updated successfully, but these errors were encountered: