answer/ui
shuai 57804fc4d9 fix: question add reopen operation 2022-12-02 17:19:31 +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 fix: question add reopen operation 2022-12-02 17:19:31 +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: add timeline router 2022-11-23 15:21:36 +08:00
.gitignore refactor(package.json): purge dependencies 2022-11-14 09:55:56 +08:00
.lintstagedrc.json ci(linting): remove unnecessary `git add` command during linting 2022-11-22 17:35:40 +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 chore(ui): add commit lint 2022-11-21 18:21:00 +08:00
config-overrides.js chore: merge important refactor from origin main 2022-11-14 10:42:45 +08:00
package.json feat(permalink): permalink factory method done 2022-12-02 11:52:00 +08:00
pnpm-lock.yaml feat(permalink): permalink factory method done 2022-12-02 11:52:00 +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