Join the Webstudio community

Updated 5 months ago

Connecting VS Studio with Webstudio for Local and Production Development

At a glance

The community members are discussing ways to connect Visual Studio (VS) Studio with Webstudio for local and production development. They mention using Finsweet's TypeScript template and Vite combined with Cloudflare Workers, but are looking for a solution that allows them to push scripts directly to production smoothly. The comments suggest embedding the scripts into the website, using a staging environment to test changes before pushing to production, and potentially using GitHub to host the scripts and embed them via a CDN like jsDelivr.

Hey is there a way to easily connect VS Studio with Webstudio for local development and maybe even production development?

I know finsweet has a github dev template based on typescript, and some others used Vite combined with cloudfare workers. But yet to find a solution that let’s me
push scripts directly to production smoothly.
O
M
11 comments
hi, basically you have custom scripts included on the page and you want to edit them locally and push to some place for production?
That's right, attached you can see example structure. Preferably I'd skip embeds and just host those js files
Attachment
Screenshot_2024-08-29_at_12.55.29.png
well you def. need to embed it into the site in some way and only then edit it
also you will want to only push it to prod when its ready and have a staging and prod versions so you can test things on stagin (yoursite.wstd.io)
we are adding ability to publish separately to staging right now
how are you doing it right now in webflow?
I embed the code thats finished, either in html or with CDN jsdeliver.
For local testing I use Finsweets typescript template.
But I want to skip that part and be able to publish straight to production through an IDE
to production you can push it by embedding it directly from production
e.g. you could use github for that
you can push your script to github, embed it into your site via jsdeliver
Add a reply
Sign up and join the conversation on Discord