Skip to content

Apply Tailwind class to Input text #197

Answered by lljj-x
clabnet asked this question in Q&A
Discussion options

You must be logged in to vote

Use the class option

Refer to vue render function:https://vuejs.org/guide/extras/render-function.html#declaring-render-functions .

machinery: {
   "ui:options": {
     disabled: false,
     style: {
       boxShadow: '0 0 12px 12px #2b9939'
     },

    // use Tailwind className
     class: ['mx-auto', 'flex'],
   },
 }

className_hei is just an example of a custom className

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by clabnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants