Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Ui elements issue #55

Closed
ivanpadavan opened this issue Jan 15, 2017 · 2 comments · Fixed by #56
Closed

Ui elements issue #55

ivanpadavan opened this issue Jan 15, 2017 · 2 comments · Fixed by #56
Assignees

Comments

@ivanpadavan
Copy link

If HTML is provided as a template inside component decorator, then webpack doesn't include code from 'ui/...' needed for this page.

@hdeshev
Copy link
Contributor

hdeshev commented Jan 16, 2017

Hey @ivanpadavan, can you get me a sample project using the latest nativescript-dev-webpack plugin?

We recently added a tweak to the AoT tsconfig that maps modules like ui/... to node_modules/tns-core-modules/ui/... which might fix your problem too. Note that it requires TypeScript 2.1 in order to work.

@ivanpadavan
Copy link
Author

My last repo. It trowed "cannot reach ui/.." errors, until replacing all the "template" properties to "templateUrl"

@sis0k0 sis0k0 self-assigned this Jan 16, 2017
sis0k0 added a commit that referenced this issue Jan 16, 2017
Make the tns-xml-loader parse Angular templates from TypeScript files.

fixes #55
sis0k0 added a commit that referenced this issue Jan 16, 2017
Make the tns-xml-loader parse Angular templates from TypeScript files.

fixes #55
sis0k0 added a commit that referenced this issue Jan 18, 2017
Make the tns-xml-loader parse Angular templates from TypeScript files.

fixes #55
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 a pull request may close this issue.

3 participants