[M] Move color picker to components
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {Options, Vue} from 'vue-class-component';
|
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";
|
import {Color} from "three";
|
||||||
|
|
||||||
@Options({components: {MyColorPicker}})
|
@Options({components: {MyColorPicker}})
|
||||||
@@ -28,7 +28,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
{
|
{
|
||||||
path: '/color',
|
path: '/color',
|
||||||
name: 'ColorPicker',
|
name: 'ColorPicker',
|
||||||
component: () => import('../views/color/ColorPickerTest.vue')
|
component: () => import('../components/color/ColorPickerTest.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/projects',
|
path: '/projects',
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ import {Options, Vue} from 'vue-class-component';
|
|||||||
import {camera, editor, objects, start} from "@/animation/Home";
|
import {camera, editor, objects, start} from "@/animation/Home";
|
||||||
import {config} from "@/animation/Config";
|
import {config} from "@/animation/Config";
|
||||||
import {KeyHandler, range} from "@/utils";
|
import {KeyHandler, range} from "@/utils";
|
||||||
import MyColorPicker from "@/views/color/ColorPicker.vue";
|
import MyColorPicker from "@/components/color/ColorPicker.vue";
|
||||||
|
|
||||||
@Options({components: {MyColorPicker}})
|
@Options({components: {MyColorPicker}})
|
||||||
export default class NewHome extends KeyHandler
|
export default class NewHome extends KeyHandler
|
||||||
|
|||||||
Reference in New Issue
Block a user