From 53aa4635dc8395162c0ef0adfb226b1e2dd52a1e Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 1 Nov 2015 20:00:57 +0000 Subject: [PATCH] Updated vuejs and got it working with current components --- gulpfile.js | 5 --- package.json | 12 +++--- .../assets/js/components/image-manager.vue | 40 +++++++++---------- .../assets/js/components/image-picker.vue | 10 ++--- .../assets/js/components/toggle-switch.vue | 6 +-- 5 files changed, 35 insertions(+), 38 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 1bbfc9818..621e665be 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,10 +1,5 @@ var elixir = require('laravel-elixir'); -elixir.config.js.browserify.transformers.push({ - name: 'vueify', - options: {} -}); - elixir(function(mix) { mix.sass('styles.scss') .sass('print-styles.scss') diff --git a/package.json b/package.json index 09edc2b20..af2cbae58 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,18 @@ "private": true, "devDependencies": { "gulp": "^3.8.8", - "insert-css": "^0.2.0", - "laravel-elixir-livereload": "1.1.3", - "vueify": "^1.1.5" + "insert-css": "^0.2.0" }, "dependencies": { + "babel-runtime": "^5.8.29", "bootstrap-sass": "^3.0.0", "dropzone": "^4.0.1", - "laravel-elixir": "^3.3.1", - "vue": "^0.12.16", + "laravel-elixir": "^3.4.0", + "vue": "^1.0.4", + "vue-hot-reload-api": "^1.2.1", "vue-resource": "^0.1.16", + "vueify": "^5.0.1", + "vueify-insert-css": "^1.0.0", "zeroclipboard": "^2.2.0" } } diff --git a/resources/assets/js/components/image-manager.vue b/resources/assets/js/components/image-manager.vue index f81bf02d1..f00bf1065 100644 --- a/resources/assets/js/components/image-manager.vue +++ b/resources/assets/js/components/image-manager.vue @@ -1,29 +1,29 @@