Skip to content

Commit

Permalink
docs: update guide for develop
Browse files Browse the repository at this point in the history
  • Loading branch information
maitrungduc1410 committed Nov 22, 2023
1 parent 2997e4e commit 7700e76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
# Develop
To Develop the extension:
- First clone the project
- Run `yarn install` or `npm install`
- Run `yarn dev` (for Chrome/Edge) or `yarn dev:firefox` for Firefox
- Install `pnpm` globally: `npm install -g pnpm`
- Run `pnpm install`
- Run `npm run dev` (for Chrome/Edge) or `npm run dev:firefox` for Firefox

After that, a `dist` folder will be generated, next based on your browser do the following
- Chrome: open `chrome://extensions/` and drag `dist` folder there
Expand All @@ -40,7 +41,7 @@ After that, a `dist` folder will be generated, next based on your browser do the
> Note: for Firefox, to make background script + popup page work on load, right click the Konva extension icon on browser bar -> select "Always allow....""
# Build
To build project for publish, run `yarn build` (for Chrome/Edge) or `yarn build:firefox` for Firefox
To build project for publish, run `npm run build` (for Chrome/Edge) or `npm run build:firefox` for Firefox

# Architecture
## Overview
Expand Down

0 comments on commit 7700e76

Please sign in to comment.