Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix reference path of app.ts #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix reference path of app.ts #4

wants to merge 1 commit into from

Conversation

heziqiang
Copy link

change the path "typings/angular2/angular2.d.ts"
to absolute path "/typings/angular2/angular2.d.ts"
or "../typings/angular2/angular2.d.ts"

Review on Reviewable

change the path "typings/angular2/angular2.d.ts"
to absolute path "/typings/angular2/angular2.d.ts"
or "../typings/angular2/angular2.d.ts"
@heziqiang
Copy link
Author

perhaps i misunderstood

@johnjelinek
Copy link

I also noticed that index.html needs a reference update too:

<script src="../bundle/angular2.dev.js"></script>

@johnjelinek
Copy link

oh .. nvm, it all hinges on this step:

cp complete/* .

then all the paths are correct. Unfortunately, running tsc until the copy, it will display a warning about referencing the d.ts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants