Nuxt.js: v-bind:src don't work with the aliases

Created on 29 Mar 2018  路  2Comments  路  Source: nuxt/nuxt.js

Hi! I'm trying to import an image dynamically, but when compiling Nuxt does not understand the alias.

The code:
code

the console return:
captura de tela 2018-03-29 as 18 56 03

This question is available on Nuxt.js community (#c6799)

Most helpful comment

This is no bug. You can't use webpack aliases in runtime-evaluated expressions that easy. See this issue for a solution

All 2 comments

This is no bug. You can't use webpack aliases in runtime-evaluated expressions that easy. See this issue for a solution

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nassimbenkirane picture nassimbenkirane  路  3Comments

mikekidder picture mikekidder  路  3Comments

gary149 picture gary149  路  3Comments

surmon-china picture surmon-china  路  3Comments

msudgh picture msudgh  路  3Comments