DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for Subdomain routing with nuxtJS and k-domains module
Krypton
Krypton

Posted on • Updated on • Originally published at blog.madhusudan.live

Subdomain routing with nuxtJS and k-domains module

Hello guys, few days ago i was trying to manage subdomains for my site where i wanted to have same layout across all and without repetition of the code.

i tried all possible ways from creating own routes to modifying default routes and after a lot of efforts, i finally achieved the result i wanted but i noticed many posts, feature requests on github for the same, so i ended up creating my very first npm module, Here's the link to the article elaborating the use of the module.

Here's the source code
And here's the package πŸ“¦
You are welcome for feedbacks / suggestions

Top comments (0)

πŸ€” Did you know?

Β 
🌚 You can turn on dark mode in Settings