This project serves as a starter template for developing Webflow Designer Extensions using a tech stack of Svelte, Melt UI, TypeScript, Tailwind CSS, and Vite.
- Svelte for building reactive UI components.
- Melt UI for additional UI components and utilities.
- TypeScript for static typing.
- Tailwind CSS for utility-first styling.
- Vite for fast development and bundling.
- Example function for changing the window size via the Webflow API.
-
Clone the repository:
git clone https://github.com/pi-ron/wfdex-svelte-starter.git
-
Navigate to the project directory:
cd wfdex-svelte-starter -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Designer Mode (No live reload):
npm run dev
-
Vite Mode (With live reload, won't work in Webflow Designer):
npm run devite
You test your app by uploading the resulting bundle.zip to your workspace and installing it on a site.
npm run bundleor
webflow extension bundlesrc/: Source code directory.components/: Svelte components.routes/: Svelte components representing different routes.stores/: Svelte stores for managing state.types/: TypeScript type definitions.main.ts: Entry point file.
public/: Static assets.README.md: Project documentation.tsconfig.json: TypeScript configuration file.
Feel free to contribute to this project by creating issues, pull requests, or contacting the maintainer.
This project is open-source and available under the MIT License.