From 594290a96ea6a55b56be90ce7dee749861ae519f Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 11 Feb 2021 23:50:57 +0100 Subject: [PATCH] vite/vue/three versions --- package.json | 9 +++++---- src/components/demos/Slider1.vue | 6 +++--- src/components/demos/Slider2.vue | 6 +++--- src/components/sliders/AnimatedPlane.js | 6 +++--- vite.config.js | 5 +++++ 5 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 vite.config.js diff --git a/package.json b/package.json index ec3aafc..c59241f 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,14 @@ }, "dependencies": { "gsap": "^3.5.1", - "three": "^0.122" + "three": "^0.125", + "vue": "^3.0.5" }, "devDependencies": { "@rollup/plugin-buble": "^0.21.3", "@rollup/plugin-replace": "^2.3.3", - "@vue/compiler-sfc": "^3.0.0", + "@vitejs/plugin-vue": "^1.1.4", + "@vue/compiler-sfc": "^3.0.5", "eslint": "^7.7.0", "eslint-config-airbnb-base": "^14.2.0", "eslint-config-standard": "^14.1.1", @@ -24,8 +26,7 @@ "eslint-plugin-vue": "^6.2.2", "rollup-plugin-vue": "^6.0.0-beta.10", "sass": "^1.26.10", - "vite": "^1.0.0-rc.9", - "vue": "^3.0.2" + "vite": "^2.0.0-beta.65" }, "main": "build/trois.js", "module": "build/trois.module.js", diff --git a/src/components/demos/Slider1.vue b/src/components/demos/Slider1.vue index 2e0db49..5ab71f5 100644 --- a/src/components/demos/Slider1.vue +++ b/src/components/demos/Slider1.vue @@ -1,12 +1,12 @@