Skip to content

Use Framer Library with the latest version of Coffeescript & Javascript, livereload, preview on mobile & maybe more

Notifications You must be signed in to change notification settings

d4rekanguok/framer-sanstudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

framer-sanstudio

Use Framer Library with the latest version of Coffeescript & Javascript, livereload, preview on mobile & maybe more


≠ This project is meant to help designers to transit from Framer to a more, for the lack of a better word, 'realistic' web development environment.

≠ Not much different from Andrew Liebchen's ecma-framer right now, but I might try to add some more stuffs later.


Installation

Make sure you've downloaded & installed Node.js.

// Download this project
git clone https://github.com/d4rekanguok/framer-sanstudio.git

// Navigate into the studio folder
cd framer-sanstudio

// Install all dependencies
npm install

Usage

Writing code

You can use either Coffeescript or Javascript.

Command Coffescript Javascript
Open live preview npm run start npm run start:js
Build project for hosting npm run build npm run build:js

Then open your browser & navigate to localhost:9000 to view live project.

Important If you want to use Coffeescript, modify the file index.coffee in /src folder. If you want to use Javascript, modify the file index.js in /src folder.

Assets & Media

Place them in the asset folder in src.

Copy and paste from Sketch

Seems like Perrymotors's copy-framer-code is the best bet right now. There's probably a way to improve the way it handles images...

Mobile Preview

  1. Find your ip address by running the command below:
ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\  -f2

Terminal command to get just IP address and nothing else - Stackoverflow

  1. Make sure your phone is connected to the same wifi. Then, let's say the ip from the previous command is 192.120.1.20, go to mobile & navigate to 192.120.1.20:9000 to view live project.

About

Use Framer Library with the latest version of Coffeescript & Javascript, livereload, preview on mobile & maybe more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published