详细问题描述
项目编译成功, 无报错.
在头条小程序ide 中, 一直处于编译过程中.
经排查后发现是 template 模板未定义
IDE运行环境说明
vscode 开发, 头条小程序ide
[IDE版本号]
vscode 最新版
头条小程序 1.6.1 (1.6.1.203)
[mac版本号] 10.14.4
uni-app运行环境说明
运行头条小程序
[运行端是h5或app或某个小程序?]
[运行端版本号]
System:
OS: macOS 10.14.4
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Browsers:
Chrome: 75.0.3770.100
Firefox: 67.0
Safari: 12.1
npmPackages:
@dcloudio/uni-app-plus: 0.0.243 => 0.0.243
@dcloudio/uni-app-plus-nvue: 0.0.1
@dcloudio/uni-app-plus-nvue-v8: 0.0.1
@dcloudio/uni-cli-shared: * => 0.2.958
@dcloudio/uni-h5: 0.5.10 => 0.5.10
@dcloudio/uni-mp-alipay: 0.0.817 => 0.0.817
@dcloudio/uni-mp-baidu: 0.0.844 => 0.0.844
@dcloudio/uni-mp-toutiao: 0.0.341 => 0.0.341
@dcloudio/uni-mp-weixin: 0.0.962 => 0.0.962
@dcloudio/uni-template-compiler: * => 0.9.176
@dcloudio/vue-cli-plugin-hbuilderx: latest => 0.9.521
@dcloudio/vue-cli-plugin-uni: latest => 0.9.474
@dcloudio/webpack-nvue-entry-loader: 0.0.1
@dcloudio/webpack-uni-mp-loader: * => 0.3.629
@dcloudio/webpack-uni-pages-loader: * => 0.2.842
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.0.0
@vue/babel-preset-app: 3.8.0
@vue/babel-preset-jsx: 1.0.0
@vue/babel-sugar-functional-vue: 1.0.0
@vue/babel-sugar-inject-h: 1.0.0
@vue/babel-sugar-v-model: 1.0.0
@vue/babel-sugar-v-on: 1.0.0
@vue/cli-overlay: 3.8.0
@vue/cli-plugin-babel: 3.5.1 => 3.5.1
@vue/cli-service: ^3.0.1 => 3.8.0
@vue/cli-shared-utils: 3.8.0
@vue/component-compiler-utils: 2.6.0
@vue/preload-webpack-plugin: 1.1.0
@vue/web-component-wrapper: 1.2.0
mpvue-page-factory: 1.0.1
mpvue-template-compiler: 1.0.13
uni-h5-vue: 2.6.10
uni-mp-vue: 2.6.10
vue: ^2.6.10 => 2.6.10
vue-hot-reload-api: 2.3.3
vue-loader: 15.7.0
vue-router: 3.0.1
vue-style-loader: 3.1.2 (3.1.2)
vue-template-compiler: ^2.6.10 => 2.6.10
vue-template-es2015-compiler: 1.9.1
vuex: ^3.0.1 => 3.1.1
weex-vue-loader: ^0.7.0 => 0.7.0
npmGlobalPackages:
@vue/cli: 3.0.1
[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]
cli 创建
联系方式
[QQ] 864662702
q***@qq.com (作者)
开启自定义模板就行 , 文档里面搜索 自定义
2019-09-20 15:06
laihuo
回复 q***@qq.com: 谢谢你
2019-09-23 10:00