Use to test heading next
use to test heading nest
use to test heading nest
<script setup>
const props = defineProps({
themeData: {
type: Object,
}
})
const HTML = document.querySelector('html');
const changeTheme = function () {
console.log('change active')
HTML.setAttribute('data-theme', props.themeData.name);
}
</script>