Update frontend new build dev, proc 4
This commit is contained in:
@@ -21,6 +21,7 @@ COPY package.json package-lock.json* ./
|
|||||||
# ถ้ามี lock ใช้ npm ci; ถ้าไม่มีก็ npm i
|
# ถ้ามี lock ใช้ npm ci; ถ้าไม่มีก็ npm i
|
||||||
RUN if [ -f package-lock.json ]; then npm ci --no-audit --no-fund; else npm install --no-audit --no-fund; fi
|
RUN if [ -f package-lock.json ]; then npm ci --no-audit --no-fund; else npm install --no-audit --no-fund; fi
|
||||||
|
|
||||||
|
|
||||||
# เพิ่ม shadcn/ui + tailwind deps
|
# เพิ่ม shadcn/ui + tailwind deps
|
||||||
RUN npm install -D tailwindcss postcss autoprefixer shadcn@latest \
|
RUN npm install -D tailwindcss postcss autoprefixer shadcn@latest \
|
||||||
&& npm install class-variance-authority clsx framer-motion lucide-react tailwind-merge tailwindcss-animate
|
&& npm install class-variance-authority clsx framer-motion lucide-react tailwind-merge tailwindcss-animate
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {"@/*": ["*"]}
|
"paths": {
|
||||||
}
|
"@/*": ["./*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exclude": ["node_modules", ".next"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user