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.
Fails to build when using custom two-way filter #167
Closed
Description
sample.vue file
<template>
<input v-model="names | myfilter" />
</template>
<script>
module.exports = {
data() {
return {
names: ['bus', 'bike', 'car']
}
},
filters: {
myfilter: {
read(val) { return val },
write(val) { return val }
}
}
}
</script>
Command:
$ browserify -t vueify sample.vue
Error:
SyntaxError: Assigning to rvalue (1:289) while parsing file:
....
Metadata
Metadata
Assignees
Labels
No labels