Awesome
framer-seed
This project is lets you work with the original (deprecated) Framer Library.
You can use this project to create a local development environment similar to Framer Classic.
With this sytem you are able to stay within your preferred operating system, editor, and WebKit-compatible browser environment.
Table of Contents
- Requirements
- Installation
- Quick Start
- Commands
- Previewing & Distribution
- Importing/Exporting
- Framer Library Version
Requirements
- node (v18.16.x)
The project may work on earlier/later versions of the above, but it has not been officially tested.
Installation
- Clone the repository
cd
into the created directory- Run
npm install
Quick Start
After the install has completed, run npm start
to launch a local server at http://localhost:3000 and add your Framer code to app.coffee
in the src
folder.
Any changes you make to app.coffee
or your modules will refresh the page automatically.
Commands
npm start
- Runs a local web server at http://localhost:3000 and refreshes the page when changes are madenpm run build
- Compilesapp.coffee
and required modules for distributionnpm install
- Downloads and builds webpack and other dependencies
Previewing & Distribution
Run npm start
to view your prototype at http://localhost:3000.
Your Framer prototype can also be viewed on other devices on your local network by pointing your device's WebKit-compatible browser to your local IP at port 3000
(e.g., http://192.168.0.100:3000). Any device type rendering will be hidden appropriately.
If you need to distribute your prototype, run npm build
to generate a build in the dist
folder. Open index.html
in any WebKit-compatible browser to view your prototype. Note that default device type renderings may not appear if you do not have an internet connection.
Importing/Exporting
Existing Framer projects can be easily imported into this project by copying the following files/folders from your project.framer
folder into the project's src
directory:
app.coffee
modules/
(optional if you do not have any modules)images/
(optional if you do not have any locally referenced images)imported/
(optional if you do not have any imported Sketch/Photoshop assets)
Framer Library Version
This project includes the last version of the Framer library (3.0.0).
Since the library is no longer being updated, there is no longer any reason to maintain the system for fetching and building the latest version.