answer/ui
aichy126 df99310ffd remove template usercode 2022-12-14 17:54:03 +08:00
..
build update index.html 2022-12-14 17:31:33 +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 refactor(i18n): Rewrite description as desc to be compatible with go-i18n 2022-12-06 18:12:10 +08:00
template remove template usercode 2022-12-14 17:54:03 +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 add template 2022-11-29 18:02:42 +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