tree: ba8988a76223cd87b5667a78a0b701c10801f14d [path history] [tgz]
  1. build/
  2. public/
  3. scripts/
  4. src/
  5. .browserslistrc
  6. .editorconfig
  7. .env.development
  8. .env.production
  9. .eslintignore
  10. .eslintrc.js
  11. .gitignore
  12. .lintstagedrc.json
  13. .npmrc
  14. .prettierrc.json
  15. commitlint.config.js
  16. config-overrides.js
  17. package.json
  18. pnpm-lock.yaml
  19. README.md
  20. static.go
  21. tsconfig.json
ui/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

Firefox

Chrome

Safari
last 2 versionslast 2 versionslast 2 versionslast 2 versions

🧱 Build with