1、weex 跳转后页面提示失败 render error: -2003
2、日志信息 ERROR: should have a template tag
3、
<template>
<div class="wrapper">
<text class="title">这是第二个页面</text>
</div>
</template>
<script>
module.exports = {
data: {},
methods: {}
}
</script>
<style>
.wrapper {
align-items: center;
margin-top: 50px;
}
.title {
padding-top: 30px;
padding-bottom: 40px;
font-size: 48px;
}
</style>
创建第二个页面的时候使用的是".we"结尾的文件,将后缀改为".vue"就可以了