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

[✨ Demo of how to use qwik-router in an nx qwik app with microfrontend - ie with host and remotes] #13

Open
st-clair-clarke opened this issue Jun 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@st-clair-clarke
Copy link

st-clair-clarke commented Jun 6, 2024

Is your feature request related to a problem?

Yes. I cannot find a way to incorporate the qwik-router into my Nx monorepo microfrontend app.

Describe the solution you'd like

Either

  1. Clear instruction on how to use qwik-router with an nx monorepo with microfrontend and incorporation or
  2. A vscode plugin to generate 1.

Describe alternatives you've considered

I have tried to use qwik-router in my nx monorepo with microfrontend but have not been successfule. Attached is a small scaffolding of such an app. To start the app, do the following:

  1. Decompress into a folder.
  2. Ensure the current pnpm package manager is installed.
  3. Run pnpm install
  4. pnpm nx serve medsoft --devRemotes=register
  5. Open app in browser at http://localhost:5173/ (host)

HELP NEEDED FOR THE FOLLOWING

  1. Router links in host (medsoft) to open the remote (registration)
  2. Working demo after the above fix.
  3. You can post back the updated result for me to download

Thanks

biz.medsoft.zip

Additional context

No response

@st-clair-clarke st-clair-clarke added the enhancement New feature or request label Jun 6, 2024
@dannyfranca
Copy link
Owner

Could you create a repo that reproduce the issue and share the link here rather than a zip file?

@st-clair-clarke
Copy link
Author

Thanks for replying. The link for the repo is qwik-router-demo

@st-clair-clarke st-clair-clarke changed the title [✨ Demo of how to use qwik-router in an nx qwik app with module federation - ie with host and remotes] [✨ Demo of how to use qwik-router in an nx qwik app with microfrontend - ie with host and remotes] Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants