Skip to content

Latest commit

 

History

History
 
 

yarn-pnp

Eliza

This project was created from scratch using React and Yarn 3 in Plug'n'Play mode.

Other tools used:

Getting Started

yarn install

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Helpful Commands

yarn run build

Build the app using Vite.

yarn run preview

Previews a built application on port 4173. Note that yarn run build must be run initially or you will see an error that says Cannot /GET

yarn run generate

Use buf to generate the compiled protos via protobuf-es

Making sure you're on the right yarn version

Ensure that you've got corepack enabled:

corepack enable

This should only be necessary once.

Verify that yarn --version matches the packageManager version in package.json.