chore: каркас проекта на Vite + React + TypeScript
Основа для формы обращений в HR взамен встроенной Microsoft Forms. React зафиксирован на 17: этого требует @tnsu/ui-kit в peerDependencies. Дизайн-токены скопированы из request-portal, чтобы формы компании выглядели одинаково; подключаются явным @use в каждом SCSS-модуле, как там же. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
}
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
open: true
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user