GithubHelp home page GithubHelp logo

next.js's Introduction

Framer / Next.js Quickstart

This is a Next.js boilerplate project setup to work with Framer Handshake, a way to directly ship visual components from your canvas to your production site leveraging the ES Modules standard.

Quickstart

Clone this repository and run the command to start the development server.

git clone https://github.com/framer/next.js.git
yarn run dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Handshake

Framer is a canvas based interactive design tool that helps you quickly design interactive components, from buttons to hero animations to cards and much more.

Typically, these elements have to manually get rebuilt in React if you are ready to actually use them on your website. Framer does this automatically and exposes every component as a versioned ESM JavaScript module with a React component.

Because modern tools like Next.js are starting to support ESM and url imports, you can directly import canvas components into your web project, eliminating the rebuild step thus saving a lot of time.

Existing Next.js Projects

If you want to add these capabilities to an existing Next.js project, you have to enable experimental ESM / url import support. You can find the exact steps in this overview.

next.js's People

Contributors

huntercaron avatar vovacodes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.