-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can you adjust the example by adding the client side build too, and hydration? #1
Comments
hi @valentinvieriu it turns out there are still a few more moving parts that seem to be work in progress in vite as well as rollup to make SSR happen correctly. Those pieces are slowly coming together. See this issue here: vitejs/vite#764 and at rollup here rollup/rollup#3760 and rollup/rollup#3764 There is a workaround mentioned in the vite issue as well that I tried out and it seemed to work well enough. Expanding this example is a good idea, I'll try to find time to do this in the next days. |
Thank you for the quick reply.
If I do the steps above, I get the server build only on I must say I've got lost at lower level than the one you probably are. I'm still trying to get the real basic going I will continue to monitor this repo then, for your updates. Thank you again for your clarifications |
I just updated the example, your questions should be answered by looking at the code. The custom build section is its own file that we will run as npm script with This is all still more of a proof of concept than anything that could actually be used in production. Let me know how far you can get from here and if you end up running into issues. |
@tbgse thank you very much for your quick response. Now that I look backwards, it makes sense, but when I was in the middle of the challenge, I kept thinking that this custom build, needs to be somehow part of vite ecosystem. |
That's funny because I am working on exactly the same thing, inspired by
react flare as well. That was the main reason I was looking into all this.
…On Wed, 30 Sep 2020, 23:19 Valentin Vieriu, ***@***.***> wrote:
@tbgse <https://github.com/tbgse> thank you very much for your quick
response. Now that I look backwards, it makes sense, but when I was in the
middle of the challenge, I kept thinking that this custom build, needs to
be somehow part of vite ecosystem.
Thank you for clarifying this and modifying the code. This is already a
good start
I'm actually trying to adapt this build process, to work with Cloudflare
Workers, so I'll have to adapt the SSR Build code to work in a webworker
like env that exists inside a Cloudflare Worker
Feel free to join/ check https://vueflare.com/
Thank you again for your fast response
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDRHH4574FKKZSB7S7QWGLSIOOG7ANCNFSM4R7NC5TA>
.
|
This is funny indeed. Please join me then on building VueFlare. I've just created the organization yesterday and bought the domain name. I was also inspired by React Flare. |
happy to join forces on this @valentinvieriu maybe let's set up a discord / chat to have a more detailed discussion around the objectives etc. |
@valentinvieriu @tbgse Hi! I've been following SSR related issues to make this work in CF Workers for a while as well 😅 |
Hi Tobias, I've watched closely vitejs/vite#711, and tried to replicate that setup, but somehow I'm missing some steps. The example here is not even close to the findings in the above mentioned issue.
Is it possible to adapt this example to showcase a full SSR ( with client side hydration) example with Vite?
This would be much appreciated, as this is not mentioned anywhere at this moment.
Thank you
The text was updated successfully, but these errors were encountered: