You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2018. It is now read-only.
updating to "vue": "^2.5.8"
breaks vueify.
I have tried to remove and re add vueify, do i need to delete all vue* dirs maybe in node_modules and try again, or possibly forsakenly remove the whole node_modules again..? Or does "Breakage" mean don't install Vue 2.5.8 until .. what?
Running gulp to compile i get this.
Vue packages version mismatch:
- [email protected]
- [email protected]
This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.
I dont use vue-template-compiler.
My gulpfile (wasnt easy to come by, any suggestions welcome here)
var browserify = require('browserify');
module.exports = function (gulp, plugins, config) {
return function(){
gulp.task('vue-build', function () {
browserify({entries: [
config.paths.assetDir + 'js/app.js'
]}) // path to your entry file here
// .transform(plugins.vueify) //moved to package.json
.plugin('vueify/plugins/extract-css', { out: config.paths.publicDir + 'css/vue-bundle.css' }) // path to where you want your css
// .transform(plugins.babelify, {"presets": ["es2015"]}) //moved to package.json
.external('vue') // remove vue from the bundle, if you omit this line whole vue will be bundled with your code
.bundle()
.pipe(plugins.source('app.js'))
.pipe(gulp.dest(config.paths.publicDir + 'js'));
})
}
};