-
Notifications
You must be signed in to change notification settings - Fork 919
Closed
Description
Hi there!
Today I updated vue-loader to the latest version and got a very strange problem...
I have an error including a Vue component which include word user.vue
Console says:
ERROR in D:/CDT/Dev/CarDealerTool/CarDealerTool.WebSite/SPA/src/components/navigation/users-menu.vue.html
Module parse failed: D:\CDT\Dev\CarDealerTool\CarDealerTool.WebSite\SPA\node_modules\vue-loader\index.js!D:\CDT\Dev\CarDealerTool\CarDealerTool.WebSite\SPA\src\components\navigation\users-menu.vue.html Line 6: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| __vue_script__.__esModule &&
| Object.keys(__vue_script__).length > 1) {
| console.warn("[vue-loader] ..\..\CDT\Dev\CarDealerTool\CarDealerTool.WebSite\SPA\src\components\navigation\users-menu.vue.html: named exports in *.vue files are ignored.")}
| __vue_template__ = require("-!vue-html-loader!./../../../node_modules/vue-loader/lib/selector.js?type=template&index=0!./users-menu.vue.html")
| module.exports = __vue_script__ || {}
@ D:/CDT/Dev/CarDealerTool/CarDealerTool.WebSite/SPA/~/babel-loader!D:/CDT/Dev/CarDealerTool/CarDealerTool.WebSite/SPA/~/vue-loader/lib/selector.js?type=script&index=0!D:/CDT/Dev/CarDealerTool/CarDealerTool.WebSite/SPA/src/components/header.vue.html 15:20-63
I tried different variations of names. Originally it was "user-menu.vue.html" and it worked perfectly with previous version of vue-loader.
I just checked vue-loader v8.0.2 in it works, but v8.0.3 doesnt.
I think this issue some hove related with hot-module-replacement because is happens only in "dev: mode. I'm still able to build a "production" version, without all this fancy hot-reload and with uglification... you know =)
Metadata
Metadata
Assignees
Labels
No labels