You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many external libraries, you can just <script src> it in the HTML and it will work. For example, here's a wich that uses three.js.
The big missing piece there is @types support, of course. I'd like to address that somehow, probably by just preloading a bunch of common libraries for now.
Ideally, I'd like it to be possible to just do
import * as THREE from 'threejs';
and have it Just Work, pinning the current version, loading @types, and loading runtime code from a CDN. That will require some thought and work though.
As for Angular, which is what you specifically mentioned, that will probably require some special treatment to get compilation to consume your source + Angular in the same compilation. I need to look into it; I haven't done very much with Angular > 1 yet. It's on my todo list, though.
calebegg
changed the title
How do I import stuff from other projects
Improve external package support
Mar 27, 2017
I wanted to include angular 2 project, but didn't find any way of doing it
The text was updated successfully, but these errors were encountered: