refactor: delete all deploy related files
This commit is contained in:
@@ -492,27 +492,11 @@
|
||||
### vite.config.ts
|
||||
```ts
|
||||
export default defineConfig({
|
||||
build: {
|
||||
outDir: 'build', // ВАЖНО: папка build для Netlify
|
||||
}
|
||||
plugins: [react(), tailwindcss()],
|
||||
// Сборка по умолчанию в dist/ (стандарт Vite)
|
||||
});
|
||||
```
|
||||
|
||||
### netlify.toml
|
||||
```toml
|
||||
[build]
|
||||
command = "npm run build"
|
||||
publish = "build"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "18"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ВАЖНЫЕ ДЕТАЛИ
|
||||
@@ -570,47 +554,50 @@ export default defineConfig({
|
||||
|
||||
```
|
||||
/
|
||||
├── App.tsx (главный компонент с роутингом)
|
||||
├── main.tsx (точка входа)
|
||||
├── index.html
|
||||
├── package.json
|
||||
├── vite.config.ts
|
||||
├── netlify.toml
|
||||
├── tsconfig.json
|
||||
├── postcss.config.js
|
||||
├── components/
|
||||
│ ├── Header.tsx
|
||||
│ ├── Hero.tsx
|
||||
│ ├── Services.tsx
|
||||
│ ├── Solutions.tsx
|
||||
│ ├── Cases.tsx
|
||||
│ ├── About.tsx
|
||||
│ ├── Contact.tsx
|
||||
│ ├── Footer.tsx
|
||||
│ ├── ContactModal.tsx
|
||||
│ └── CategoryPage.tsx
|
||||
├── pages/
|
||||
│ ├── HomePage.tsx
|
||||
│ ├── CloudPage.tsx
|
||||
│ ├── RussianSoftwarePage.tsx
|
||||
│ ├── CybersecurityPage.tsx
|
||||
│ ├── AISolutionsPage.tsx
|
||||
│ ├── RussianHardwarePage.tsx
|
||||
│ ├── HardwareSolutionsPage.tsx
|
||||
│ ├── CADandGISPage.tsx
|
||||
│ ├── IndustrialSolutionsPage.tsx
|
||||
│ ├── GovernmentPage.tsx
|
||||
│ ├── BusinessPage.tsx
|
||||
│ ├── ConsultingPage.tsx
|
||||
│ ├── ImplementationPage.tsx
|
||||
│ ├── ManagedServicesPage.tsx
|
||||
│ ├── IntegrationPage.tsx
|
||||
│ ├── SpecializedServicesPage.tsx
|
||||
│ ├── SupportPage.tsx
|
||||
│ └── SubscriptionPage.tsx
|
||||
└── styles/
|
||||
├── globals.css
|
||||
└── animations.css
|
||||
├── tsconfig.app.json
|
||||
├── tsconfig.node.json
|
||||
├── public/
|
||||
│ └── favicon.svg
|
||||
└── src/
|
||||
├── App.tsx (главный компонент с роутингом)
|
||||
├── main.tsx (точка входа)
|
||||
├── components/
|
||||
│ ├── Header.tsx
|
||||
│ ├── Hero.tsx
|
||||
│ ├── Services.tsx
|
||||
│ ├── Solutions.tsx
|
||||
│ ├── Cases.tsx
|
||||
│ ├── About.tsx
|
||||
│ ├── Contact.tsx
|
||||
│ ├── Footer.tsx
|
||||
│ ├── ContactModal.tsx
|
||||
│ └── CategoryPage.tsx
|
||||
├── pages/
|
||||
│ ├── HomePage.tsx
|
||||
│ ├── CloudPage.tsx
|
||||
│ ├── RussianSoftwarePage.tsx
|
||||
│ ├── CybersecurityPage.tsx
|
||||
│ ├── AISolutionsPage.tsx
|
||||
│ ├── RussianHardwarePage.tsx
|
||||
│ ├── HardwareSolutionsPage.tsx
|
||||
│ ├── CADandGISPage.tsx
|
||||
│ ├── IndustrialSolutionsPage.tsx
|
||||
│ ├── GovernmentPage.tsx
|
||||
│ ├── BusinessPage.tsx
|
||||
│ ├── ConsultingPage.tsx
|
||||
│ ├── ImplementationPage.tsx
|
||||
│ ├── ManagedServicesPage.tsx
|
||||
│ ├── IntegrationPage.tsx
|
||||
│ ├── SpecializedServicesPage.tsx
|
||||
│ ├── SupportPage.tsx
|
||||
│ └── SubscriptionPage.tsx
|
||||
└── styles/
|
||||
├── globals.css
|
||||
└── animations.css
|
||||
```
|
||||
|
||||
---
|
||||
@@ -626,7 +613,7 @@ export default defineConfig({
|
||||
7. Работающие выпадающие меню
|
||||
8. Функциональное модальное окно
|
||||
9. Якорная навигация к секциям на главной странице
|
||||
10. Готовность к деплою на Netlify (build в папку build)
|
||||
10. Продакшен-сборка в каталог `dist/` (стандарт Vite)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user