- Added dependencies for PrimeVue, PrimeUI themes, and TailwindCSS in package.json. - Replaced HelloWorld component with ColorDemo in App.vue to showcase color customization. - Updated HelloWorld component to use PrimeVue Button component. - Configured main.ts to set up PrimeVue with a custom theme and dark mode support. - Enhanced vite.config.ts to include TailwindCSS and auto-import for PrimeVue components. - Created ColorDemo.vue for color customization interface. - Added main.css for global styles, including Tailwind and PrimeUI styles. - Implemented AppConfig.vue and AppTopbar.vue for layout and theme configuration. - Developed useLayout composable for managing color themes and dark mode toggle.
9 lines
161 B
Vue
9 lines
161 B
Vue
<script setup>
|
|
</script>
|
|
|
|
<template>
|
|
<Button>
|
|
Hola mundo
|
|
<!-- Los componentes de PrimeVue se usan directamente sin importar -->
|
|
</Button>
|
|
</template> |