You may need an appropriate loader to handle this file type.
See original GitHub issue ERROR Failed to compile with 1 errors 20:06:38
error in ./node_modules/vuetify/src/mixins/route-link.js
Module parse failed: E:\www\project\node_modules\vuetify\src\mixins\route-link.js Unexpected token (36:10)
You may need an appropriate loader to handle this file type.
| }],
| on: {
| ...(this.$listeners || {}),
| click: this.click
| }
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}],["es2015",{"modules":false}],["stage-2"]],"plugins":[
["transform-imports",{"vuetify":{"transform":"vuetify/src/components/${member}","preventFullImport":true}}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/vuetify
/src/components/VBtn/VBtn.vue 5:0-56
@ ./node_modules/vuetify/src/components/VBtn/VBtn.vue
@ ./node_modules/vuetify/src/components/VBtn/index.js
@ ./resources/assets/js/app.js
@ multi ./resources/assets/js/app.js ./resources/assets/stylus/app.styl
Steps to reproduce
-
Install Fresh Laravel copy
-
install vuetify
-
try to add A La Carte (compnents) Method …
-
Works fine if i use only the
app
and thevuetify
like this:
window.Vue = require('vue');
import { Vuetify, VApp } from 'vuetify'
Vue.use(Vuetify, {
components: {
VApp
}
})
- if i add some components like Grid i get two errors and its all about three dots …
...(this.$listeners || {}),
Versions
What is expected ?
What is actually happening ?
i think i need a loader to handle the three 3 dots (…) files !!!
Reproduction Link
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
"You may need an appropriate loader to handle this file type ...
js file is doing is importing react, but it seems like the 'babel-loader' is not working. I am using 'babel-loader' 6.0.0. javascript ·...
Read more >Fix : You may need an appropriate loader to handle this file type
The “You may need an appropriate loader to handle this file type” error is encountered in the command prompt of Windows or Linux...
Read more >Module parse failed: Unexpected token. You may need an ...
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. #996.
Read more >You may need an appropriate loader to handle this file type ...
I 'm having a problem configuring Webpack for Typescript and React. After running the NPM script: webpack serves ./webpack/webpack.config.ts ...
Read more >You might need an appropriate loader to handle the file type ...
You might need an appropriate loader to handle the file type error. r/react - Hi , I am getting an appropriate loader required...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Instead of
do
Vuetify looks awesome, but after several hours of grappling with setting it up and encountering several issues, including this one, it kinda fails. It’s too fiddly to even recreate the examples in the documentation! 😃
One tries to use frameworks such as this, expecting the same ease of getting things working with minimal configuration/fiddling as the VueJS lib itself, but is eventually let down.
But, thumbs up for the amount of work put into this though.