habitica-self-host/website/client
2024-02-29 15:38:03 -06:00
..
public Update Melior Image (#15116) 2024-02-15 20:48:42 +00:00
scripts Remove Storybook files and packages (#15040) 2023-12-13 20:18:13 +01:00
src chore(news): remove obsolete link 2024-02-29 15:38:03 -06:00
tests/unit Upgrade to mongoose 7 (#14971) 2024-01-16 15:18:47 -06:00
.browserslistrc old client structure 2019-10-01 11:44:38 +02:00
.eslintrc.js Pin Habitica Eslint Config (#15057) 2023-12-27 18:20:49 +01:00
babel.config.js babel: enable optional chaining (#13222) 2021-04-30 15:02:30 -05:00
package-lock.json Fix resetting account for social accounts (#15087) 2024-01-18 15:51:36 -06:00
package.json Upgrade to mongoose 7 (#14971) 2024-01-16 15:18:47 -06:00
postcss.config.js misc, fix client tests 2019-10-15 15:32:53 +02:00
README.md Remove Storybook files and packages (#15040) 2023-12-13 20:18:13 +01:00
vue.config.js Squashed commit of the following: 2023-10-03 13:30:44 -05:00
webpack.webstorm.config PMs rebuild (#11360) 2020-01-12 19:34:40 +01:00

Habitica Client

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Vue Structure

Currently pages and components are mixed in /src/components this is not a good way to find the files easy.

Thats why each changed / upcoming page / component should be put in either /src/components or in the /src/pages directory.

Inside Pages, each page can have a subfolder which contains sub-components only needed for that page - otherwise it has to be added to the normal components folder.

At the end of all the changes - the components should only contain components needed between all pages