Projector.js我正在一个基于角度cli的应用程序与使用three.js在那。我可以使用这三个.js与import * as THREE from 'three'; 但我想要添加Projector.js以及。 我加入.angular-cli.json下面的代码, "scripts": [
"../node_modules/three/build/three.js",
我正在使用角4的原生路由和国际化国际化工作。我遇到的问题是当用户在不是主要路由的路由上切换语言时。应用程序的这部分内容像foo.com/admin/那样访问,当我们在那里抛出一种语言时,该应用程序重新加载到foo.com/admin/es/。如果这是从诸如foo.com/admin/settings之类的路由完成的,则问题是应用程序将重新加载到该语言,但结果将是消息Cannot get admin
我试图根据https://github.com/angular/angular-cli/wiki/stories-third-party-lib在@angular/cli上使用@types/stats。 但是,当我尝试import * as STATS from 'stats.js'我得到了tslint错误。 [ts] Module '"stats.js"' resolves to a non-m