No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    The easiest failed to work. Help.

    Help
    1
    2
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ilabutk last edited by

      This is one of those days that nothing works. Am I out of mind??? Why? The first image won’t show but the second does.

      <template>
        <q-page class="flex flex-center">
          <q-img :src="imgLink" style="width: 200px" />
          <q-img src="~assets/images/grace-1.png" style="width: 200px" />
        </q-page>
      </template>
      
      <script>
      export default {
        name: 'PageIndex',
        data () {
          return {
            imgLink: '~assets/images/grace-1.png'
          }
        }
      }
      </script>
      
      
      1 Reply Last reply Reply Quote 0
      • I
        ilabutk last edited by

        Never mind. After I moved the images to /public, all is working. But still, why?? Note though: this is a newly setup dev environment (node + quasar cli). Something must have changed. It is simply ridiculous that such a simple thing does not work.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post