- Install Node.js version 14 or later
- Install Yarn
npm install -g yarn
- Run
yarn intall
to install dependency
The google services.json file is required to enable Firebase services such as Firebase Authentication and Firebase Cloud Messaging. To use these services, you need obtain the service.json file through firebase and fill in the information in .env.example.
You should have three different versions of the .env file: one for debug, one for development, and one for release. Please place them in the following directories:
- .env
- .env.dev
- .env.prd
Run yarn build:dev
or yarn winBuild:dev
for Windows enviornment to develop with file watching and development log.
Run yarn build:pro
or yarn winBuild:pro
for Windows enviornment to build a production package, the output extension package is located in the dist folder.
- Copy
_raw/_locales/en/messages.json
to_raw/_locales/${localCode}/messages.json
(Find your locale code in https://en.wikipedia.org/wiki/Language_localisation#Language_tags_and_codes) - Replace content in
message
property to appropriate locale language
ATTENTION: When you create a new key, make sure the key doesen't include space and not duplicated with existing phrase (case insensitive).