0👍
You are right ! Vueify stopped maintaining their repository. Although, I was able to use the following fork : "vueify":"github:stendahls/vueify#master"
which adds support for Babel 7 and @babel/preset-env
. I will fork it myself but my tests were conclusive.
Then, in my Gulpfile I could use the following :
gulp.task('vueapp', () => {
return browserify('assets/vueapp/js/main.js')
.transform(vueify)
.transform(babelify, {
presets: ["@babel/preset-env"]
})
.bundle()
.pipe(source('vueapp.js'))
.pipe(gulp.dest('public/build/vueapp/js/'));
});
- [Vuejs]-Vue: how do I pass down data from my parent component to required child components?
- [Vuejs]-How to pass variable from Vuex store to a function as value?
Source:stackexchange.com