- 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.
31 lines
738 B
JSON
31 lines
738 B
JSON
{
|
|
"name": "golscontros-frontend-v1",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@primeuix/themes": "^1.2.5",
|
|
"@primevue/auto-import-resolver": "^4.4.1",
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@vueuse/core": "^14.0.0",
|
|
"primeicons": "^7.0.0",
|
|
"primevue": "^4.4.1",
|
|
"tailwindcss-primeui": "^0.6.1",
|
|
"unplugin-vue-components": "^30.0.0",
|
|
"vue": "^3.5.22"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^7.1.7",
|
|
"vue-tsc": "^3.1.0"
|
|
}
|
|
}
|