VS Code + Webflow = 😍

  Рет қаралды 4,296

Samuel Gregory (0x5am5)

Samuel Gregory (0x5am5)

Күн бұрын

Пікірлер: 32
@webflowandcode
@webflowandcode 9 ай бұрын
One thing I forgot to say is obviously with VS Code you get all the benefits of AI (if you're subscribed) and code hinting which you don't get writing code directly in Webflow. Don't forget your merch: flowst8.dev/store Join the community: twitter.com/i/communities/1737357986903753004
@LoneRanger.801
@LoneRanger.801 7 ай бұрын
Accidentally discovered your channel. What a find! 😊
@webflowandcode
@webflowandcode 7 ай бұрын
Welcome aboard!
@nanozone3706
@nanozone3706 7 ай бұрын
thanks man
@webflowandcode
@webflowandcode 7 ай бұрын
No problem!
@TOM-gw3pi
@TOM-gw3pi 7 ай бұрын
with this, could I design my code on webflow and then it automatically updates on vs code?
@webflowandcode
@webflowandcode 7 ай бұрын
No. What are you trying to achieve by doing this?
@qamar7
@qamar7 8 ай бұрын
This is really helpful! Have you installed gsap using npm in VS code or using cdn in Webflow?
@webflowandcode
@webflowandcode 8 ай бұрын
NPM
@qamar7
@qamar7 8 ай бұрын
@@webflowandcode similarly we use for three.js I hope. Can you make a tutorial how to publish these file to GitHub over cdn?
@webflowandcode
@webflowandcode 8 ай бұрын
Already done. Search “hosting” “assets” or “serve images next gen”. It’s all the same concept. Ps I’m deeply against using a service like jsdelvr + GitHub for commercial projects which a lot of content creators promote. Personal projects, fine so if this is relevant, search that.
@qamar7
@qamar7 6 ай бұрын
@@webflowandcode Ohh okay, but what if the code exceeds more than 10000 chars then how do we host it? I think we should not use github we shall use npm. Any tutorials on that how to host on npm+jsdeliver?
@webflowandcode
@webflowandcode 6 ай бұрын
It’s painfully easy to do. You shouldn’t need a tutorial. Just go to JSDelvrs website. You just paste the URL of your files into the input field
@MatthewJaekel
@MatthewJaekel 8 ай бұрын
just to clear my confusion, this code could then be pushed to github and then i could use a cdn to deliver it to webflow?
@webflowandcode
@webflowandcode 8 ай бұрын
Exactly that.
@tancdiscovery9432
@tancdiscovery9432 9 ай бұрын
Im guessing this works for CSS files too?..
@webflowandcode
@webflowandcode 9 ай бұрын
Yes but this requires setup that’s not mentioned at all in the video. Please look into MiniCssExtractPlugin and the documentation tells you exactly how you’d go about this
@tancdiscovery9432
@tancdiscovery9432 9 ай бұрын
Cheers man, will look it up. Using codesandbox for the most part , but its buggy, never remembers your setting & doesn't have AI @@webflowandcode
@webflowandcode
@webflowandcode 9 ай бұрын
I did a bit of research this morning on this. Really code sandbox is a development environment. It's not really for the sort of thing you're using it for. Maybe for pet projects and playground but commercial applications and client work I think you really need to look for an appropriate solution like what we've described here or Slater.app.
@dane6752
@dane6752 4 ай бұрын
Hi @webflowandcode. Thanks for the awesome tutorial. However I'm having an issue where Webflow is refusing to run the code: "not allowed to run insecure code from localhost..."
@webflowandcode
@webflowandcode 4 ай бұрын
I had this issue in Brave browser and used Chrome. What browser are you using?
@dane6752
@dane6752 4 ай бұрын
@@webflowandcode Thanks for replying, I was not expecting a response on a Sunday you absolute legend! I was using chrome. A while back I remember reading that Webflow only runs code served from https else it throws this error. After watching your video I thought local-host may have been an exception to the rule but I still seem to be getting the error. I usually use code-sandbox which serves from https but I would love to get a local vs-code setup running like you have in your video. For full disclosure, I haven't tried using Webpack yet. In testing I just severed a test project with a js file using (npx http-server). Not sure if the Webpack setup itself could be doing anything to prevent the error perhaps?
@webflowandcode
@webflowandcode 4 ай бұрын
Check out my video on proxyman. It might add a bit of extra insight. kzbin.info/www/bejne/eaHci4Wmn7NqatEsi=lEhRhgl9kg0eUiG9
@ajuhpark
@ajuhpark 5 ай бұрын
Hi, thank you for the tutorial. I’m curious about workflow. When I’m working on the js file, I run the server to check things out but it affects my production site. I understand that when I turn the server off, my site is back to normal until I push the changes but is there a way to possibly only work on the staging site that webflow offers and then have it work on production when it’s ready? Or if you have a different workflow solution that doesn’t show my js changes on the production site, please let me know.
@webflowandcode
@webflowandcode 5 ай бұрын
This is a pretty complicated setup. You might look into slater.app for this
@ajuhpark
@ajuhpark 5 ай бұрын
@@webflowandcode Thank you, I will check it out. For now, I just did a makeshift solution of putting the setup code to in webflow and only publishing the staging site so that's the only site that the js file can affect.
@webflowandcode
@webflowandcode 5 ай бұрын
Ok but just to be clear, when you run your code locally in this way, this doesn’t actually affect the live site (production or staging). It’s literally just on your machine that the code runs.
Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)
20:19
Cole Medin
Рет қаралды 121 М.
Webflow is Sh*t
8:15
Samuel Gregory (0x5am5)
Рет қаралды 1,3 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 85 МЛН
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 72 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 42 МЛН
Why Beautiful Websites Don’t Convert
12:57
Malewicz
Рет қаралды 165 М.
ChatGPT-o1 Created A Programming Language...
19:45
Conner Ardman
Рет қаралды 71 М.
Which Wordpress Page Builder is BEST for Webflow users?
7:47
CSS Animations in Webflow
10:02
Timothy Ricks
Рет қаралды 13 М.
My Thoughts on the Webflow Plan Situation...
12:30
Samuel Gregory (0x5am5)
Рет қаралды 1,8 М.
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 127 М.
Build anything with v0 (3D games, interactive apps)
9:05
Vercel
Рет қаралды 105 М.
Code faster with these VS Code shortcuts
8:44
Coder Coder
Рет қаралды 367 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 176 М.
Work Smarter Than 99% of Webflow Developers
3:34
Timothy Ricks
Рет қаралды 17 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 85 МЛН