This is a basic setup with ViteJs and Typescript that you can use for your Webflow website.
jQuery is already installed and declared as an external dependency.
I'm using Netlify to build and host my code because it's easy to use, free, and has serverless functions out of the box. Feel free to use your favorite CDN.
You can find a simple example of a Webflow site using this setup here. The code is hosted on Netlify here. If you want to see the Webflow preview, it's here 👍
The doc is here
The doc is here
This project is using yarn.
First, install dependencies:
yarnTo launch a local dev server:
yarn devTo create a production build:
yarn buildTo clean the local /dist folder:
yarn cleanTo lint the code with ESLint and Prettier:
yarn lint:fix