GithubHelp home page GithubHelp logo

monorepoo's Introduction

Deploying Monorepos with Yarn Workspaces and Vercel

In this repository, you will deploy a monorepo with Yarn workspaces and the following components:

  • A create-react-app application
  • A Next.js application
  • A common library containing a utility function shared between each application

You can follow the step by step guide here.

To deploy to Vercel, please follow these steps:

  1. Clone this repository
  2. Deploy both applications to Vercel from this same repository by creating a new Vercel Project with Git twice and selecting the repository from the Import Git Repository section. Use the following configuration for each Vercel Project:
  • For the apps/frontend create-react-app application, choose Create React App as the framework and apps/frontend as the root directory
  • For the apps/nextapp Next.js application, choose Next.js as the framework and apps/nextapp as the root directory

The result will be 2 separate sites deployed with 2 different frameworks from the same repository.

monorepoo's People

Contributors

ismaelrumzan avatar gs0510 avatar

Watchers

 avatar  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.