0đź‘Ť
As its all client-side code, except perhaps your all_timesheet_json this can come from an endpoint with appropriate permissions, but, you can use a tool that “minifies” your JavaScript:
https://javascript-minifier.com/
This will make your code harder to read, but will make your file smaller.
Only downside is that it will be harder to make changes to your code, you will have to make another copy as a “development” version and the minified as a “production” version.
0đź‘Ť
In addition to procoib’s suggestion of minification as a concept, you’re probably going to find that you want to bundle those numerous CDN calls and your own Javascript code into one or two files once you get to production. Something like Webpack will allow you to set up a consistent routine to bundle your files together and minify them. This also allows you to incorporate things like Babel to write more readable and maintainable Javascript.
- [Vuejs]-Can we change the color of the context menu's menu Item in electron js
- [Vuejs]-Nuxt custom router