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

How to setup SSR when using vue-cli? #107

Open
svihpinc opened this issue Dec 26, 2022 · 4 comments
Open

How to setup SSR when using vue-cli? #107

svihpinc opened this issue Dec 26, 2022 · 4 comments

Comments

@svihpinc
Copy link

I've used create-single-spa to generate a vue-cli based vue@2 project.

In the react example of single-spa SSR here: navbar webpack config, webpack is used to create a server.mjs file, which is then imported by root-config and server rendered

How to do this in a vue-cli project? How to setup webpack to bundle for node target too?

@svihpinc
Copy link
Author

@filoxo
Copy link
Contributor

filoxo commented Dec 28, 2022

How to do this in a vue-cli project? How to setup webpack to bundle for node target too?

The purpose of the examples are for the community to help us achieve feature parity. I can help you if you put in the work because our team will never be able to make an example for every framework/ecosystem. Are you willing to put in this work?

@svihpinc
Copy link
Author

I understand, and I'm willing to do it. But it will be a bit slow. I'll try to create a draft PR, but there's no guarantees.

If possible, I would request you to keep this issue open though, so that if not me, then someone else might work on it.

@filoxo
Copy link
Contributor

filoxo commented Dec 31, 2022

sounds great to me! I should be available to help give a general direction and review code.

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

No branches or pull requests

2 participants