Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序提示 未找到 app.json 中的定义的 pages "pages/home/home" 对应的 WXML 文件 #46

Open
HHL030303 opened this issue Feb 25, 2020 · 3 comments

Comments

@HHL030303
Copy link

编译小程序之后 在小程序中提示 如标题所示
在编译过程中提示 src/pages/home/home.js 没有被引用到,不会被编译
实际home 页面已在app.js 中注册
pages: [
'pages/home/home',
'pages/cate/cate',
'pages/cate-sub/cate-sub',
'pages/cart/cart',
'pages/user/user',
'pages/user-login/user-login',
'pages/user-login-email/user-login-email',
'pages/item/item',
'pages/webview/webview'
],

@lunlunshiwo
Copy link

这个问题解决了么,我也遇到了

@HHL030303
Copy link
Author

已解决,一般是在小程序的编译过程中有报错会导致 未注册问题

@lunlunshiwo
Copy link

遇到了什么问题,怎么解决的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants