Well, I think microservices is more for backend applications than frontend. But one nice way to handle microservices in frontend i think it's by components.
You can see and example in Angular and React, I think the best way is making a folder by component and have all the js, css and html in every folder, because when you don't need a component simply can delete de folder and remove the line in your code.