Answer the question
In order to leave comments, you need to log in
Why can't import ... from '...' variables be used?
Hello, why can't you use backticks in a construction?
Why can't you use import like this:import ... from '...'
const file = 'index.js'
import что-то from `./папка/${file}`
// так тоже нельзя
import что-то from './папка/' + file
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question