提交 cfbc51f5 编写于 作者: Q qiang

fix: app-v2 指定nvue启动页

上级 0c92985c
......@@ -365,8 +365,9 @@ module.exports = function (pagesJson, userManifestJson) {
}
let isNVueEntryPage = appJson.nvue && appJson.nvue.entryPagePath
if (conditionPagePath && isNVueEntryPage) {
isNVueEntryPage = appJson.nvue.entryPagePath === conditionPagePath
conditionPagePath = process.env.UNI_CLI_LAUNCH_PAGE_PATH || conditionPagePath
if (conditionPagePath) {
isNVueEntryPage = `${conditionPagePath}.html` in appJson.nvue.pages
}
manifestJson.plus.useragent.value = 'uni-app'
manifestJson.launch_path = '__uniappview.html'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册