quasarframework / vue-cli-plugin-quasar

Quasar Framework Vue CLI plugin
https://quasar.dev
MIT License
68 stars 14 forks source link

<img src="~assets/xx.png"/> works,but <q-img src="~assets/xx.png"/> dosen't work. #44

Closed zhouyou-az closed 3 years ago

zhouyou-az commented 3 years ago

Describe the bug works,but dosen't work. Codepen/jsFiddle/Codesandbox (required) Fork a Codepen (https://codepen.io/rstoenescu/pen/xxEvBLR?editors=101) or a jsFiddle (https://jsfiddle.net/rstoenescu/a2cuzods/) or a Codesandbox (https://codesandbox.io/s/optimistic-poitras-4t3m3) and hit save then copy-paste link here.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Platform (please complete the following information): Quasar Version: @quasar/app Version: Quasar mode:

Tested on:

OS: Node: NPM: Yarn: Browsers: iOS: Android: Electron:

Additional context Add any other context about the problem here.

rstoenescu commented 3 years ago

Works fine... Need more details on what you're exactly using.

OS: macOS
quasar - 2.0.0-beta.15
@quasar/app - 3.0.0-beta.22
zhouyou-az commented 3 years ago

Works fine... Need more details on what you're exactly using.

OS: macOS
quasar - 2.0.0-beta.15
@quasar/app - 3.0.0-beta.22

OS: windows10 quasar - 2.0.0-beta.15 @quasar/app - It doesn't exist in node_modules folder I create a new project with Vue CLI, then I add Vue CLI Quasar Plugin according to the documents here: https://next.quasar.dev/start/vue-cli-plugin#add-vue-cli-quasar-plugin.

rstoenescu commented 3 years ago

Fix available in "vue-cli-plugin-quasar" v4.0.0-beta.2