I am going to write a simple hello word app with angular2 and systemjs to import module in phpStorm.
Here is the directory of my project:
ProjectName
|--app
|--app.ts
|--app.js
|node_modules
|index.html
|package.json
|tsconfig.json
Here is a piece of code:
import { bootstrap } from "angular2/platform/browser";
import { Component } from "angular2/core";
Question:
How does it know where to find this file? When I moved node_modules to app folder, there comes error.