1.下载主题 在更目录运行npm install或者yarn,
2.运行stencil init 或者在下载的主题里面创建一个.stencil文件配置
{
"normalStoreUrl": "https://xxxxx.com/",
"port": 3000,
"customLayouts": {
"brand": {},
"category": {},
"page": {
},
"product": {}
},
"clientId": "xxxx",
"accessToken": "xxxx"
}
把xxx换成你的就可以了
3.运行stencil start
网友评论