Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9d80e28

Browse filesBrowse files
committed
add options.name for vue2 better debugging
1 parent ac70a2c commit 9d80e28
Copy full SHA for 9d80e28

File tree

4 files changed

+8
-0
lines changed
Filter options

4 files changed

+8
-0
lines changed

‎src/components/Camera.vue

Copy file name to clipboardExpand all lines: src/components/Camera.vue
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Object3D from './Object3D'
88
import bus from '../bus'
99
1010
export default {
11+
name: 'Camera',
12+
1113
mixins: [Object3D],
1214
1315
props: {

‎src/components/Object3D.vue

Copy file name to clipboardExpand all lines: src/components/Object3D.vue
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { Object3D } from 'three'
77
import { assign } from '../util'
88
99
export default {
10+
name: 'Object3D',
11+
1012
props: {
1113
obj: { type: Object3D },
1214
position: { type: Object }, // { x, y, z }

‎src/components/Renderer.vue

Copy file name to clipboardExpand all lines: src/components/Renderer.vue
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { WebGLRenderer } from 'three'
1111
import bus from '../bus'
1212
1313
export default {
14+
name: 'Renderer',
15+
1416
props: {
1517
size: {
1618
type: Object, // { w, h }

‎src/components/Scene.vue

Copy file name to clipboardExpand all lines: src/components/Scene.vue
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Object3D from './Object3D'
88
import bus from '../bus'
99
1010
export default {
11+
name: 'Scene',
12+
1113
mixins: [Object3D],
1214
1315
props: {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.