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

input 不能用 #55

Closed
waha3 opened this issue Mar 25, 2016 · 5 comments
Closed

input 不能用 #55

waha3 opened this issue Mar 25, 2016 · 5 comments

Comments

@waha3
Copy link

waha3 commented Mar 25, 2016

<template>
    <div class="container">
        <a v-link="{path:'/event'}">活动</a>
        <a v-link="{path:'/reglist'}">列表</a>
        <a v-link="{path:'/register'}">注册</a>
        <div style="width:100%;">
            <router-view
                transition
                transition-mode="out-in">
            </router-view>
        </div>
        <input></input>
    </div>
</template>
<script>
    import Input from 'vux/components/input'
    export default{
        name:"app",
        components:{
            Input
        }
    }
</script>

模板不能渲染出dom结构

@airyland
Copy link
Owner

😓 请给代码,不然我猜出什么问题。不方便贴在这里的话,可以打包发份代码到我邮箱。 i@mao.li

@waha3
Copy link
Author

waha3 commented Mar 25, 2016

已经更新了代码

@airyland
Copy link
Owner

input 会和 原生标签 input有冲突,试试

import * as XInput from 'vux/components/input'

@waha3
Copy link
Author

waha3 commented Mar 25, 2016

可以了 什么时候可以出个文档吗?

@airyland
Copy link
Owner

在编写中,要过1-2周,可能Input会重命名为XInput避免这样的问题。

刚帮你编辑了代码,多行代码用 ``` html 更易读。

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