-
Notifications
You must be signed in to change notification settings - Fork 63
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
How to deploy in iis as application both root and child app #2
Comments
Hi @pank789. What do your Otherwise, I'm not sure what it could be. Checking the base url was a good thing to do - make sure it is correct in both the |
hi @joeldenning, Thank You for guidance. I was able to manage the deployment in IIS along with my colleague. Can i update the process in the single-spa vue page about the deployment in IIS? Also can you point me any live application which is using vue in single-spa users list. I was trying to understand if the systemjs is must for loading the component and will be seen in developer tools in live apps as well. But when i tried few of them i didnt see them so wanted to ensure that the approach that is mentioned to use in the single-spa for vue can be used for production and large site development. |
Glad to hear it!
Yes, documentation about IIS would be great, although I don't think the single-spa-vue documentation is the right place. Instead, perhaps https://github.com/single-spa/import-map-deployer/tree/master/examples/ci-for-javascript-repo is better? Especially if you are using the import-map-deployer.
@EvanBurbidge successfully launched single-spa + vue at a large organization in Europe. I'll ask him to comment here and give you a chance to talk if you'd like. On the single-spa slack workspace, his handle is I'm closing this issue since it appears to be resolved - however, feel free to comment further or reopen. |
Hi @pank789 if you're using router links or the Link component in react you need to make sure you've got a /my-apps-url in the to field. The router-view etc for VueJS will only work for child routes or routes defined in that specific micro frontend. When it compiles both router-link and Link compile to an or similar enough can't remember exactly off the top of my head but means you can route between applications quite easily :) |
@EvanBurbidge can you let me the vuejs site which you developed uses same setup ( systemjs based) and can share the web url for reference. |
Hi joel,
I was trying the to deploy applications under iis below is my config.
Root app - localhost/root
Navbar - localhost/navbar
App1 - localhost/app1
App2 - localhost/app2
But when i try to navigate from navbar using vue router view, the path becomes localhost/root/app1 which doesnt work.
In my both child app i have kept baserul as / and history mode on.
Can you guide me towards some documentation which would help me. I tried looking into example app but i could see in navbar, the navigation menu are directly placed app.vue file which are associate with direct path.
The text was updated successfully, but these errors were encountered: