npm run dev
npm run build
This deletes the public folder and generates new files, copies the static files and creates a service worker js file. It adds hash to the css en js files.