提交 f10317a0 编写于 作者: Q qiang

fix(mp-toutiao): app.json use component2 (question/156550)

上级 b2af305e
......@@ -3,5 +3,8 @@ module.exports = function (pagesJson, manifestJson) {
app,
project
} = require('../mp')(pagesJson, manifestJson, require('./project.config.json'))
const [key, value] = ['component2', true]
app.content = app.content || {}
app.content[key] = key in pagesJson ? pagesJson[key] : value
return [app, project]
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册