Forem

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

Posted on • Edited on • Originally published at madhusudan.live

2 2

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

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay