enhance documentation
This commit is contained in:
18
README.md
18
README.md
@@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user