Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Vue-Touch 2.0 - Uncaught TypeError: Cannot read property '__vueTouch__' of undefined #53

@mhaddon

Description

@mhaddon

I have my:

const Vue = require('vue/dist/vue.min');
const VueTouch = require('vue-touch/vue-touch.min.js');

Vue.use(VueTouch);

Then I add:
v-touch:swipeleft="fn"

To one of my pages elements, but as soon as i add the html attribute the page will break and wont load with the error in the title.

The error occurs in the bind event for vue touch at the start.

This is with vue 2.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions