Hi,
I have written an article on Dev.To about above topic and tested the steps.
Currently there are steps for vanilla JS and Vue JS applications.
If there is something not correct, or should not be structured this way, do let me know on the article comments and I will fix it…