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.

vueify breaks when upgrading vue to 2.5.8 #211

Closed
@brian-lamb-software-engineer

Description

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'));
    })
  }
};

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