| name | framer-local-dev-loop |
| description | Configure Framer local development with hot reload and testing.
Use when setting up a development environment, configuring test workflows,
or establishing a fast iteration cycle with Framer.
Trigger with phrases like "framer dev setup", "framer local development",
"framer dev environment", "develop with framer".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(pnpm:*), Grep |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","framer"] |
| compatibility | Designed for Claude Code |
Framer Local Dev Loop
Overview
Set up a fast development workflow for Framer plugins and code components with Vite hot-reload, TypeScript, and testing.
Prerequisites
- Completed
framer-install-auth setup
- Node.js 18+ with npm
- Framer editor open
Instructions
Step 1: Plugin Dev Environment
npx create-framer-plugin@latest my-plugin
cd my-plugin
npm install
npm run dev
Project structure:
my-plugin/
โโโ src/
โ โโโ App.tsx # Plugin UI (React)
โ โโโ main.tsx # Entry point
โ โโโ framer.d.ts # Type definitions
โโโ package.json
โโโ vite.config.ts # Vite config with framer-plugin
โโโ tsconfig.json
Step 2: Connect to Framer Editor
- Open Framer, go to your project
- Click Plugins > Development in the toolbar
- Select your local dev plugin
- Changes in
src/App.tsx hot-reload instantly
Step 3: Testing Plugin Logic
import { describe, it, expect } from 'vitest';
function transformPosts(posts: any[]) {
return posts.map(p => ({
fieldData: {
title: p.title,
body: `<p>${p.body}</p>`,
slug: p.title.toLowerCase().replace(/[^a-z0-9]+/g, ).(, ),
},
}));
}
(, {
(, {
posts = [{ : , : , : }];
items = (posts);
(items[]..).();
(items[]..).();
(items[]..).();
});
(, {
posts = [{ : , : , : }];
items = (posts);
(items[]..).();
});
});