mirror of
https://github.com/vercel/commerce.git
synced 2025-07-24 10:41:23 +00:00
Update Next.js to 12 and switch to npm (#562)
* Update Commerce to Next.js 12 * Switch to npm * Removed yarn * Updated fetch type * Fixed issue with BC deployment
This commit is contained in:
@@ -105,11 +105,10 @@ Our commitment to Open Source can be found [here](https://vercel.com/oss).
|
||||
|
||||
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
|
||||
2. Create a new branch `git checkout -b MY_BRANCH_NAME`
|
||||
3. Install yarn: `npm install -g yarn`
|
||||
4. Install the dependencies: `yarn`
|
||||
5. Duplicate `.env.template` and rename it to `.env.local`
|
||||
6. Add proper store values to `.env.local`
|
||||
7. Run `yarn dev` to build and watch for code changes
|
||||
3. Install the dependencies: `npm i`
|
||||
4. Duplicate `.env.template` and rename it to `.env.local`
|
||||
5. Add proper store values to `.env.local`
|
||||
6. Run `npm run dev` to build and watch for code changes
|
||||
|
||||
## Work in progress
|
||||
|
||||
|
Reference in New Issue
Block a user