[M] Move color picker to components

This commit is contained in:
Hykilpikonna
2021-12-25 00:30:17 -05:00
parent 61bffff3be
commit 4817e8a76e
4 changed files with 3 additions and 3 deletions
@@ -7,7 +7,7 @@
<script lang="ts">
import {Options, Vue} from 'vue-class-component';
import MyColorPicker from "@/views/color/ColorPicker.vue";
import MyColorPicker from "@/components/color/ColorPicker.vue";
import {Color} from "three";
@Options({components: {MyColorPicker}})
+1 -1
View File
@@ -28,7 +28,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: '/color',
name: 'ColorPicker',
component: () => import('../views/color/ColorPickerTest.vue')
component: () => import('../components/color/ColorPickerTest.vue')
},
{
path: '/projects',
+1 -1
View File
@@ -37,7 +37,7 @@ import {Options, Vue} from 'vue-class-component';
import {camera, editor, objects, start} from "@/animation/Home";
import {config} from "@/animation/Config";
import {KeyHandler, range} from "@/utils";
import MyColorPicker from "@/views/color/ColorPicker.vue";
import MyColorPicker from "@/components/color/ColorPicker.vue";
@Options({components: {MyColorPicker}})
export default class NewHome extends KeyHandler