Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Links - Deep Navigation #81

Open
dansiegel opened this issue Jan 17, 2020 · 0 comments
Open

App Links - Deep Navigation #81

dansiegel opened this issue Jan 17, 2020 · 0 comments

Comments

@dansiegel
Copy link
Member

Sample

Every so often you have a requirement where you want to handle a URL within your App. Prism is uniquely positioned here with URL based navigation.

We should have a sample that shows how to take a URL like prismlibrary.com and updates the platform so that when you try to open prismlibrary.com in the browser it will instead redirect you to the Sample where it will show the appropriate resource.

Thinking this should essentially have two special pages.. one that opens when you try to hit the root website.. and another when you try to hit the docs

  • prismlibrary.com
  • prismlibrary.com/docs/*

The Docs page should get a resource path that maps to the Documentation repo md file and parse the MD. This can be pretty simply by adapting this MarkdownView

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

No branches or pull requests

1 participant