-
I need some new tokens globally. In old version (v1) was 8 preregistered tokens. In v2 there are only 3. I use nuxt3. I'm registered vMask directive. But i can't find how to register new tokens globally. Please help |
Beta Was this translation helpful? Give feedback.
Answered by
beholdr
Apr 1, 2024
Replies: 1 comment
-
There is no global tokens registration in v2. You can create custom tokens with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
azamat7g
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no global tokens registration in v2. You can create custom tokens with
data-maska-tokens
attribute or pass them via options. In second case you can create some global variable and use it for every case.