Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 31d06ca

Browse files
authored
Merge pull request #1445 from ajoslin103/ajoslin103-patch-1
docs(core-concepts/navigation): copy navigation pathing tip from ui/basics
2 parents 709c6e9 + 363d571 commit 31d06ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/core-concepts/navigation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ frame.navigate("second/second-page");
253253
<Frame id="firstFrame" defaultPage="home/home-page"/>
254254
```
255255

256+
> Paths are relative to the application root. In the example above, NativeScript looks for a `my-page.xml` file in the app directory of your project (e.g. `app/my-page.xml`).
257+
256258
There are several ways to perform a navigation; which one you use depends on the needs of your app.
257259

258260
### Navigate by page name

0 commit comments

Comments
 (0)