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

[1.0.6] router-view and v-ref #1724

Closed
OEvgeny opened this issue Nov 6, 2015 · 0 comments
Closed

[1.0.6] router-view and v-ref #1724

OEvgeny opened this issue Nov 6, 2015 · 0 comments

Comments

@OEvgeny
Copy link

OEvgeny commented Nov 6, 2015

v-ref stops to work properly with router-view after vue@1.0.6 update. It was working properly in 1.0.3.

I see this varning: fiddle

[Vue warn]: v-ref:page must be used on a child component. Found on <p>.
vue.js:2201 Error: Warning Stack Trace
    at Object.exports.warn (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:2201:29)
    at Directive.module.exports.bind (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:5354:31)
    at Directive._bind (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:9469:11)
    at linkAndCapture (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:2493:14)
    at rootLinkFn (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:2641:22)
    at VueComponent.exports._compile (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:9205:23)
    at VueComponent.exports.$mount (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:10394:9)
    at VueComponent.exports._init (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:8404:11)
    at VueComponent.Vue._init (https://rawgit.com/vuejs/vue-router/dev/dist/vue-router.js:1602:11)
    at new VueComponent (eval at createClass (https://cdn.jsdelivr.net/vue/1.0.6/vue.js:2310:11), <anonymous>:2:47)

Also there are warnings about fragment instance component:

[Vue warn]: Attribute "v-ref:page" is ignored on component <router-view> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance
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

1 participant