package.json 如下
{
"private": true,
"dependencies": {
"antd-mobile": "^0.9.0",
"babel-runtime": "^6.20.0",
"dva": "^1.0.0",
"react": "^15.1.0",
"react-dom": "^15.1.0"
},
"devDependencies": {
"babel-plugin-dva-hmr": "^0.2.1",
"babel-plugin-import": "^1.0.1",
"babel-plugin-transform-runtime": "^6.15.0",
"expect": "^1.20.2",
"redbox-react": "^1.2.10",
"roadhog": "^0.3.2"
},
"scripts": {
"start": "roadhog server",
"build": "roadhog build",
"test": "roadhog test"
}
,
"theme": {
"@brand-primary": "#64bfae",
"@color-text-base":"#64bfae"
}
}
Most helpful comment
可以参考这个 Commit,是 antd 的自定义的例子,antd-mobile 没试过,应该也类似吧。