1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

вв222323232231в

This commit is contained in:
MoonTestUse1
2025-01-05 00:10:08 +06:00
parent 79d1b6680f
commit bfd41d5590
3 changed files with 10 additions and 13 deletions

View File

@@ -2,16 +2,18 @@ FROM node:18
WORKDIR /app WORKDIR /app
# Копируем файлы package.json и package-lock.json # Копируем package.json и package-lock.json
COPY frontend/package*.json ./ COPY frontend/package*.json ./
# Очищаем cache и node_modules # Устанавливаем зависимости
RUN npm cache clean --force
RUN rm -rf node_modules
# Устанавливаем зависимости и обновляем package-lock.json
RUN npm install RUN npm install
# Устанавливаем Tailwind и его зависимости
RUN npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
# Инициализируем Tailwind
RUN npx tailwindcss init -p
# Копируем исходный код # Копируем исходный код
COPY frontend/ . COPY frontend/ .

View File

@@ -25,7 +25,6 @@
"tailwindcss": "^3.4.1", "tailwindcss": "^3.4.1",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"vite": "^5.1.4", "vite": "^5.1.4",
"vue-tsc": "^2.0.6", "vue-tsc": "^2.0.6"
"@tailwindcss/forms": "^0.5.9"
} }
} }

View File

@@ -7,9 +7,5 @@ export default {
theme: { theme: {
extend: {}, extend: {},
}, },
plugins: [ plugins: [],
require('@tailwindcss/forms')({
strategy: 'class',
}),
],
} }