How to add bg color to the title header of the table using nuxt ui. #26747
astro-ninja
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, Good day everyone , asking for help I'm new to nuxt ui, I would like to ask how to add bg color to the tittle header of the table using nuxt ui.
<script setup lang="ts"> const columns = [{ key: 'id', label: 'ID' }, { key: 'name', label: 'User name' }, { key: 'title', label: 'Job position' }, { key: 'email', label: 'Email' }, { key: 'role' }] const people = [{ id: 1, name: 'Lindsay Walton', title: 'Front-end Developer', email: 'lindsay.walton@example.com', role: 'Member' }, { id: 2, name: 'Courtney Henry', title: 'Designer', email: 'courtney.henry@example.com', role: 'Admin' }, { id: 3, name: 'Tom Cook', title: 'Director of Product', email: 'tom.cook@example.com', role: 'Member' }, { id: 4, name: 'Whitney Francis', title: 'Copywriter', email: 'whitney.francis@example.com', role: 'Admin' }, { id: 5, name: 'Leonard Krasner', title: 'Senior Designer', email: 'leonard.krasner@example.com', role: 'Owner' }, { id: 6, name: 'Floyd Miles', title: 'Principal Designer', email: 'floyd.miles@example.com', role: 'Member' }] </script>Beta Was this translation helpful? Give feedback.
All reactions