在 src/config 目录下创建 app.js 文件,并在文件中添加如下代码:
src/config
app.js
export const appId = 'xxxx-xxxxxxxx'; export const appKey = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'; // 请替换为正确的 appId 及 appKey
yarn install
yarn serve
yarn build
yarn lint