Update frontend new build dev, proc 6
This commit is contained in:
@@ -26,14 +26,14 @@ COPY package.json ./
|
||||
RUN npm install --no-audit --no-fund
|
||||
|
||||
# เพิ่ม shadcn/ui + tailwind deps
|
||||
RUN npm install -D tailwindcss postcss autoprefixer shadcn@latest \
|
||||
&& npm install class-variance-authority clsx framer-motion lucide-react tailwind-merge tailwindcss-animate
|
||||
# RUN npm install -D tailwindcss postcss autoprefixer shadcn@latest \
|
||||
# && npm install class-variance-authority clsx framer-motion lucide-react tailwind-merge tailwindcss-animate
|
||||
|
||||
# init tailwind config (กัน No Tailwind CSS configuration found)
|
||||
RUN npx tailwindcss init -p
|
||||
# RUN npx tailwindcss init -p
|
||||
|
||||
# bake components ของ shadcn แบบ non-interactive
|
||||
RUN npx shadcn add -y button badge card input tabs progress dropdown-menu tooltip switch
|
||||
# RUN npx shadcn add -y button badge card input tabs progress dropdown-menu tooltip switch
|
||||
|
||||
############ Dev (hot-reload) ############
|
||||
# ใช้ร่วมกับ compose: bind ทั้งโปรเจ็กต์ → /app
|
||||
|
||||
Reference in New Issue
Block a user