generated from sonofmagic/monorepo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I am working on vite project with react
I used some components from external library which is material-tailwind
the file tw-class-list.json doesn't have the classes the extrnal library use. Therefore, after build the components from the external library still have the same classes of tailwind and the browser doesn't recognize these classes
this is the package.json
{
"name": "my-portfolio",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"prepare": "tw-patch install",
"dev": "vite --host",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@material-tailwind/react": "^2.1.10",
"framer-motion": "^11.5.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2",
"vite-plugin-svgr": "^4.2.0"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.9.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"postcss": "^8.4.45",
"tailwindcss": "^3.4.10",
"tailwindcss-patch": "^4.0.0",
"unplugin-tailwindcss-mangle": "^3.0.1",
"vite": "^5.4.1"
}
}```Metadata
Metadata
Assignees
Labels
No labels