Open KBKUN024 opened 2 years ago
which loader should I use?
In my code,main.js:
Are you use vue-cli default config?
You need find a webpack loader load .mjs file.
yes,I'm sure
发自我的iPhone
------------------ Original ------------------ From: 木荣 @.> Date: Wed,Jul 20,2022 9:23 PM To: murongg/vue3-lazyload @.> Cc: KBKUN024 @.>, Author @.> Subject: Re: [murongg/vue3-lazyload] [error] may need an appropriate loader tohandle this file type (Issue #31)
Are you use vue-cli default config?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I tried use vue-cli
create default config project. This error did not occur.
What version are you using?
I am also facing the error
What version are you using?
Vue 3.2.22 ts
the same to me .waiting for the solution ~
@Xudadaaa Try to check the dependent version related to vue
or vite
.
原因应该是不支持?的语法,需要load加载,具体要用那个load?
@tsoil 我使用了 vite 与 vue-cli 的默认模板,没有发现什么问题,所以我也很困惑。
@Xudadaaa Try to check the dependent version related to
vue
orvite
.
升级版本就可以啦 thanks
The error in command is below:
Actually,I use it follow documentation,is the image below: But command notice me that I need a appropriate loader to handle this file,how can I fix it?