Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

Shares code and dependencies amongst apps in the monorepo:

Usage

Add the workspace dependency to the consuming app or package.

yarn add examples:"workspace:^"

Add an alias in tsconfig.js to enable fast-refresh.

{
  "compilerOptions": {
    "paths": {
      "examples/*": ["../examples/common/*"]
    },
  },
}