enhance documentation

This commit is contained in:
2023-12-02 15:13:56 -07:00
parent 6dbfc5f77d
commit fa41fb3415
4 changed files with 18 additions and 9 deletions

View File

@@ -13,6 +13,11 @@ npm install
npm run serve
```
### Lints and fixes files
```
npm run lint
```
### Compiles and minifies for production
If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js, eg: `publicPath: "/app/time-tracker/",`
@@ -21,11 +26,7 @@ If you are deploying in a subdirectory, add it to `publicPath` in vue.config.js,
npm run build
```
### Lints and fixes files
```
npm run lint
```
... then copy the contents of the `sw_scripts` folder to the `dist` folder - except additional_scripts.js.
@@ -91,9 +92,12 @@ For your own web-push tests, change the 'vapid' URL in App.vue, and install apps
- Click on the "Registration Unknown" button and register that person to be able to make claims as them.
### Clear data & restart
### Clear/Reset data & restart
Clear the browser cache for localhost.
* Data: Clear the browser cache for localhost.
* Notifications:
* Under browser settings, look for "notification" and remove this server.
* Under about:debugging, find the service worker and Unregister.