Quasar: assets not resolve with ~ symbol

Created on 26 Nov 2019  路  14Comments  路  Source: quasarframework/quasar

assets images not resolve after upgrade to quasar _1.4.5_ and app _1.3.0_
inspect the source and code is show like <img src="[object Module]" style="width: 30vw; max-width: 150px;">

Most helpful comment

I have the same issue. Issue occur when quasar/app is 1.3.0 version (maybe some of updated dependencies). I downgrade my app to last stable 1.2.4 and everything work like a charm.
unknown

All 14 comments

I have the same issue. Issue occur when quasar/app is 1.3.0 version (maybe some of updated dependencies). I downgrade my app to last stable 1.2.4 and everything work like a charm.
unknown

+1

I have the same issue. Issue occur when quasar/app is 1.3.0 version (maybe some of updated dependencies). I downgrade my app to last stable 1.2.4 and everything work like a charm.
unknown

Thanks. Solve the issue. but this is workaround.

the same problem please update @rstoenescu

Can you please check file-loader's version on working and not working app (1.2.4 and 1.3.0) with npm list file-loader and report back?

Hi,

Thanks for reporting! Fixed in "@quasar/app" v1.3.1. Please upgrade to it.

I upgrade to "@quasar/app" v1.3.1 but this issue still exists. @rstoenescu

@0xDarker it's impossible. make a cleanup of node_modules and yarn.lock/package-lock.json and yarn/npm install again. Also make sure that you haven't manually added url-loader or file-loader to your project.

@0xDarker it's impossible. make a cleanup of node_modules and yarn.lock/package-lock.json and yarn/npm install again. Also make sure that you haven't manually added url-loader or file-loader to your project.

Sorry it 鈥檚 really because I added file-loader, thanks

No prob. Glad it's working for you too now.

I deleted node_modules and yarn.lock, I don't have file-loader / url-loader specified and yet I'm still experiencing this issue from v1.3.1 and onwards.

@Propaganistas this has been fixed 101%. are you sure that you are running latest q/app? what does it say when you run quasar dev or build right at the top in terminal?

@rstoenescu Thanks for bearing with me. I'm using another build runner based on webpack with some sensible defaults preset (so not Quasar builder). I tracked it down to the defaults not including esModule: false in file-loader's options. Adding that fixed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hctpbl picture hctpbl  路  3Comments

jigarzon picture jigarzon  路  3Comments

adwidianjaya picture adwidianjaya  路  3Comments

jippy89 picture jippy89  路  3Comments

nueko picture nueko  路  3Comments