A
A
Analka2021-11-22 15:20:00
Vue.js
Analka, 2021-11-22 15:20:00

Is it possible to make a dynamic class for module style in Nuxt?

Is it possible to arrange it somehow? to work for style module

<div :class="$style.`${deviceName}BlogItem`">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kulakov, 2021-11-22
@Analka

$style[`${deviceName}BlogItem`]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question