When we execute npm run build, vue will build into dist folder, sometimes we need to add additional file like htaccess to this dist folder. but if we add the file manually the file will be deleted on next build. I don't know if this solution is best practice, but it is work for now :D, The solution is we need to add the file we want to include in dist folder. . .
selengkapnya>>
myString = myString.replace(/\D/g,'');
ref : https://stackoverflow.com/questions/1862130/strip-all-non-numeric-characters-from-string-in-javascript
. . .
selengkapnya>>https://stackoverflow.com/questions/3455405/how-do-i-remove-a-key-from-a-javascript-object
. . .
selengkapnya>>https://stackoverflow.com/questions/21246818/how-to-get-the-base-url-in-javascript
. . .
selengkapnya>>https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page
. . .
selengkapnya>>