From 6c06fadbdf9891081c913dcbb4a587aa32e18fc0 Mon Sep 17 00:00:00 2001 From: u4bi Date: Fri, 26 May 2017 00:51:09 +0900 Subject: [PATCH] three.js import console test --- src/app/app.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index ff63e05..9868ee6 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core'; +import * as THREE from 'three'; @Component({ selector: 'app-root', @@ -7,4 +8,9 @@ import { Component } from '@angular/core'; }) export class AppComponent { title = 'app works!'; + + constructor(){ + console.log(THREE); + + } }