JavaScript/vue.js/error:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第45行: 第45行:
<style lang="scss" rel="stylesheet/scss" scoped></syntaxhighlight>
<style lang="scss" rel="stylesheet/scss" scoped></syntaxhighlight>
* Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead
* Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead
*: <syntaxhighlight lang="html5">
<template>
    <div>
        <router-view name="default"></router-view>
        <router-view name="index_main"></router-view>
        <router-view name="info_main"></router-view>
        <router-view name="list_main"></router-view>
    </div>
</template></syntaxhighlight>