From eb0568fa8202b7495f54370e42b3be51f3c67f22 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sat, 19 Sep 2020 12:42:06 +0200 Subject: [PATCH] move demos --- src/App.vue | 16 +-- src/components/TestGLTF.vue | 14 --- src/components/{Test1.vue => demos/Demo1.vue} | 2 +- src/components/{Test2.vue => demos/Demo2.vue} | 0 src/components/{Test3.vue => demos/Demo3.vue} | 0 src/components/{Test4.vue => demos/Demo4.vue} | 0 src/components/demos/Demo5.vue | 114 ++++++++++++++++++ src/components/demos/DemoGLTF.vue | 9 ++ src/components/index.js | 1 + src/components/viewers/GLTFViewer.vue | 5 - src/index.js | 2 + src/plugin.js | 2 + 12 files changed, 137 insertions(+), 28 deletions(-) delete mode 100644 src/components/TestGLTF.vue rename src/components/{Test1.vue => demos/Demo1.vue} (98%) rename src/components/{Test2.vue => demos/Demo2.vue} (100%) rename src/components/{Test3.vue => demos/Demo3.vue} (100%) rename src/components/{Test4.vue => demos/Demo4.vue} (100%) create mode 100644 src/components/demos/Demo5.vue create mode 100644 src/components/demos/DemoGLTF.vue create mode 100644 src/components/index.js diff --git a/src/App.vue b/src/App.vue index 49f2895..23476ac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,21 +8,21 @@ diff --git a/src/components/Test1.vue b/src/components/demos/Demo1.vue similarity index 98% rename from src/components/Test1.vue rename to src/components/demos/Demo1.vue index 8242a50..6378100 100644 --- a/src/components/Test1.vue +++ b/src/components/demos/Demo1.vue @@ -20,4 +20,4 @@ export default { }); }, }; - + \ No newline at end of file diff --git a/src/components/Test2.vue b/src/components/demos/Demo2.vue similarity index 100% rename from src/components/Test2.vue rename to src/components/demos/Demo2.vue diff --git a/src/components/Test3.vue b/src/components/demos/Demo3.vue similarity index 100% rename from src/components/Test3.vue rename to src/components/demos/Demo3.vue diff --git a/src/components/Test4.vue b/src/components/demos/Demo4.vue similarity index 100% rename from src/components/Test4.vue rename to src/components/demos/Demo4.vue diff --git a/src/components/demos/Demo5.vue b/src/components/demos/Demo5.vue new file mode 100644 index 0000000..e62a372 --- /dev/null +++ b/src/components/demos/Demo5.vue @@ -0,0 +1,114 @@ + + + diff --git a/src/components/demos/DemoGLTF.vue b/src/components/demos/DemoGLTF.vue new file mode 100644 index 0000000..601899d --- /dev/null +++ b/src/components/demos/DemoGLTF.vue @@ -0,0 +1,9 @@ + + + diff --git a/src/components/index.js b/src/components/index.js new file mode 100644 index 0000000..d9777c4 --- /dev/null +++ b/src/components/index.js @@ -0,0 +1 @@ +export { default as GLTFViewer } from './viewers/GLTFViewer.vue'; diff --git a/src/components/viewers/GLTFViewer.vue b/src/components/viewers/GLTFViewer.vue index 1129fc9..caa0bf9 100644 --- a/src/components/viewers/GLTFViewer.vue +++ b/src/components/viewers/GLTFViewer.vue @@ -9,11 +9,8 @@