jonathanglasmeyer / framer-bootstrap

Bootstrap your Framer.js prototype development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

framer-bootstrap

framer-bootstrap screenshot

This project is meant to get you started with Framer.js as quickly as possible.

You can use this project to create a local development environment similar to Framer (previously Framer Studio).

A benefit of using this versus Framer is that you are able to stay within your preferred operating system, editor, and WebKit-compatible browser environment.

Table of Contents

Requirements

The project may work on earlier/later versions of the above, but it has not been officially tested.

Installation

  1. Clone the repository
  2. cd into the created directory
  3. Run npm install

Quick Start

After the install has completed, run gulp to launch a local server at http://localhost:3000 and add your Framer.js code to app.coffee.

Any changes you make to app.coffee will automatically refresh the page automatically.

Commands

Previewing

Open index.html in any WebKit-compatible browser to view your prototype (no local web server needed). Note that default device type renderings may not appear if you do not have an internet connection.

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). Note that the local web server must be running (gulp server) for this to work. Any device type rendering will be hidden appropriately.

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 root 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)

Alternatively, you can copy the same folders to your project.framer folder from your framer-bootstrap project to export back into Framer.

Why CoffeeScript?

CoffeeScript is the preferred language for Framer.js. The docs are all written with respect to CoffeeScript.

While most editors don't come with syntax highlighting or autocompletion for CoffeeScript (and Framer.js syntax), there are many packages readily availble that accomplish these features.

Sublime Text 3

Atom

TextMate

About

Bootstrap your Framer.js prototype development.


Languages

Language:JavaScript 99.7%Language:CSS 0.2%Language:HTML 0.1%Language:CoffeeScript 0.0%