Ant-design-mobile Custom theme Bo an Chuo

An ant-design-mobile h5 project has been completed. If the rn
custom theme is not involved, report an error according to the official document:

[start]
[start] Failed to compile.
[start]
[start]. / src/theme.less
[start] Module build failed:
[start]
[start] height: @ icon-size-xxs;
[start] .bread-svg-background ("right");
[start] ^
[start] Inline JavaScript is not enabled. Is it set in your options?
[start] in E:2017-new-workspacedl-keep-cloudsourcesdl-keep-cloudapp-centersrcmainwebappnode_modulesantd-mobilelibaccordionstyleindex.less (line 36, column 8)
[start]

both official methods have been used, and they are the same, so I can only ask the great god to help me. The dva framework is used in the
project, and the package.json is as follows

.

"dependencies": {

"@antv/f2": "^3.1.3-beta.2",
"antd-mobile": "^2.1.8",
"babel-runtime": "^6.9.2",
"dva": "^1.2.1",
"font-awesome": "^4.7.0",
"js-cookie": "^2.2.0",
"moment": "^2.22.0",
"rc-form": "^2.1.7",
"react": "^15.4.0",
"react-dom": "^15.4.0",
"reqwest": "^2.0.5"

},
"devDependencies": {

"babel-eslint": "^7.1.1",
"babel-plugin-dva-hmr": "^0.3.2",
"babel-plugin-import": "^1.7.0",
"babel-plugin-transform-runtime": "^6.9.0",
"css-loader": "^0.28.11",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.8.0",
"expect": "^1.20.2",
"husky": "^0.12.0",
"less": "^3.0.1",
"less-loader": "^4.1.0",
"less-vars-to-js": "^1.2.1",
"mockjs": "^1.0.1-beta3",
"npm-run-all": "^4.1.2",
"postcss-pxtorem": "^4.0.1",
"redbox-react": "^1.4.3",
"roadhog": "^1.1.1",
"shelljs": "^0.8.1",
"style-loader": "^0.20.3"

}

Mar.04,2021
Menu