answer/ui
shuai 8501ef4c64 feat: form classname adjustment 2022-11-21 10:51:47 +08:00
..
build ci(env): optimize env field in .env and .env.production 2022-10-19 12:35:09 +08:00
public fix: required tags and reserved tags 2022-11-16 12:06:33 +08:00
scripts chore: merge important refactor from origin main 2022-11-14 10:42:45 +08:00
src feat: form classname adjustment 2022-11-21 10:51:47 +08:00
.browserslistrc initial commit 2022-09-27 17:59:05 +08:00
.editorconfig initial commit 2022-09-27 17:59:05 +08:00
.env.development refactor(env): migrate env config by .env file 2022-11-10 16:37:03 +08:00
.env.production refactor(env): migrate env config by .env file 2022-11-10 16:37:03 +08:00
.eslintignore initial commit 2022-09-27 17:59:05 +08:00
.eslintrc.js feat(i18n): language resource migrate done! 2022-11-08 17:42:48 +08:00
.gitignore refactor(package.json): purge dependencies 2022-11-14 09:55:56 +08:00
.lintstagedrc.json initial commit 2022-09-27 17:59:05 +08:00
.npmrc refactor(package.json): purge dependencies 2022-11-14 09:55:56 +08:00
.prettierrc.json Fix windows endOfLine error 2022-11-01 15:16:21 +08:00
README.md feat(agreements): tos and pricacy done! 2022-11-16 11:36:51 +08:00
commitlint.config.js feat(navigation): guard route done 2022-10-29 20:43:52 +08:00
config-overrides.js chore: merge important refactor from origin main 2022-11-14 10:42:45 +08:00
package.json chore: update agreements, fix some issue dashbaord 2022-11-19 13:39:37 +08:00
pnpm-lock.yaml chore: update agreements, fix some issue dashbaord 2022-11-19 13:39:37 +08:00
static.go optimize: the static files and handle 2022-09-29 12:37:02 +08:00
tsconfig.json chore: merge important refactor from origin main 2022-11-14 10:42:45 +08:00

README.md

Answer

Answer is a modern Q&A community application

To learn more about the philosophy and goals of the project, visit Answer.

📦 Prerequisites

pnpm is required by building the Answer project. To installing the pnpm tools with below commands:

corepack enable
corepack prepare pnpm@v7.12.2 --activate

With Node.js v16.17 or newer, you may install the latest version of pnpm by just specifying the tag:

corepack prepare pnpm@latest --activate

🔨 Development

clone the repo locally and run following command in your terminal:

$ git clone git@github.com:answerdev/answer.git answer
$ cd answer/ui
$ pnpm install
$ pnpm start

now, your browser should already open automatically, and autoload http://localhost:3000. you can also manually visit it.

👷 Workflow

when cloning repo, and run pnpm install to init dependencies. you can use project commands below:

  • pnpm run start run Answer web locally.
  • pnpm run build build Answer for production
  • pnpm run lint lint and fix the code style

🖥 Environment Support

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
last 2 versions last 2 versions last 2 versions last 2 versions

🧱 Build with