[M] Move color picker to components
This commit is contained in:
@@ -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}})
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user