new file: main_dc/yalarba/easySite/easySite/app/assets/css/main.css

modified:   main_dc/yalarba/easySite/easySite/nuxt.config.ts
	new file:   package-lock.json
	new file:   package.json
add main styles for all project, fix warn with word process by
installing some npm install --save-dev @types/node
This commit is contained in:
2025-10-28 22:53:21 +05:00
parent 2128977ce0
commit 6f724d99a2
4 changed files with 95 additions and 3 deletions
@@ -0,0 +1,57 @@
/* assets/css/main.css */
:root {
--primary: #2563eb;
--primary-dark: #1d4ed8;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-600: #4b5563;
--gray-800: #1f2937;
--gray-900: #111827;
--white: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--gray-900);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
/* Базовые компоненты */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.5rem;
text-decoration: none;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-primary {
background: var(--primary);
color: var(--white);
}
.btn-primary:hover {
background: var(--primary-dark);
}
.card {
background: var(--white);
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
padding: 1.5rem;
}
@@ -8,15 +8,16 @@ export default defineNuxtConfig({
'@nuxt/ui',
'@nuxt/eslint'
],
css: ['~/assets/css/main.css'],
// Настройки для работы за прокси
runtimeConfig: {
public: {
baseURL: process.env.BASE_URL || 'http://localhost:3000'
}
},
nitro: {
preset: 'node-server'
},
nitro: {
preset: 'node-server'
},
// Дополнительно в Vite
vite: {