DEV Community

Discussion on: Take Your WordPress Site Further With Vue.js

Collapse
 
xsitramy profile image
xsit-ramy

In history mode we need to modify .htaccess file so when you refresh it does not return a 404 error. v3.router.vuejs.org/guide/essentia...

What would be the rule in a plugin situation

Collapse
 
stephenwhitmore profile image
Stephen Whitmore

Sorry I didn't see this until now. The intention here is to embed a micro-frontend into an existing WordPress page, so I don't think you'd have any need for using routes. What you're asking about may be more relevant for a full Vue SPA.