diff --git a/src/App.vue b/src/App.vue index fefee56..49f2895 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,17 +11,18 @@ import Test1 from './components/Test1.vue'; import Test2 from './components/Test2.vue'; import Test3 from './components/Test3.vue'; +import Test4 from './components/Test4.vue'; import TestGLTF from './components/TestGLTF.vue'; export default { name: 'App', components: { - Test1, Test2, Test3, TestGLTF, + Test1, Test2, Test3, Test4, TestGLTF, }, data() { return { - tests: ['Test1', 'Test2', 'Test3', 'TestGLTF'], - test: 'Test2', + tests: ['Test1', 'Test2', 'Test3', 'Test4', 'TestGLTF'], + test: 'Test1', }; }, }; diff --git a/src/components/Test1.vue b/src/components/Test1.vue index 0baf2d1..420c166 100644 --- a/src/components/Test1.vue +++ b/src/components/Test1.vue @@ -3,27 +3,14 @@ - + diff --git a/src/main.js b/src/main.js index b48a52e..bf6e537 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,8 @@ import { createApp } from 'vue'; import App from './App.vue'; +import TroisJSPlugin from './plugin.js'; import './index.css'; const app = createApp(App); +app.use(TroisJSPlugin); app.mount('#app');