Please install pnpify yarn add @yarnpkg/pnpify
Then run this command:
yarn pnpify --sdk
After go to VSCode and follow these steps:
-
Press ctrl+shift+p in a TypeScript file
-
Choose "Select TypeScript Version"
-
Pick "Use Workspace Version"
Be sure to be in the project folder
yarn dev
Then open: http://localhost:3000 in your browser
- Build the project
yarn build
- Start the server
yarn start
Then open: http://localhost:3000 in your browser