scss的问题 #13073
Unanswered
13714273163
asked this question in
Q&A
scss的问题
#13073
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
最近有将老项目umi3升级成umi4的需求,发现升级后scss后不生效。然后新起一个最新的umi4项目,发现scss也不生效。看下官网是否有解决方案? node: 18.19.1
package.json
`
{
"private": true,
"author": ",
"scripts": {
"dev": "max dev",
"build": "max build",
"format": "prettier --cache --write .",
"prepare": "husky",
"postinstall": "max setup",
"setup": "max setup",
"start": "npm run dev"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-components": "^2.4.4",
"@umijs/max": "^4.4.11",
"antd": "^5.4.0",
"sass": "^1.89.2"
},
"devDependencies": {
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"husky": "^9",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"prettier-plugin-organize-imports": "^3.2.2",
"prettier-plugin-packagejson": "^2.4.3",
"typescript": "^5.0.3"
}
}
`
All reactions