hieuhani / nuxt-multi-tenancy Goto Github PK
View Code? Open in Web Editor NEWNuxt Multi Tenancy Module - multi-tenancy by sub domain for Nuxt application
Home Page: https://techgoda.net/
License: MIT License
Nuxt Multi Tenancy Module - multi-tenancy by sub domain for Nuxt application
Home Page: https://techgoda.net/
License: MIT License
Previously used the nuxt2 version of this app, and it works great! Not 100% sure I understand the documentation around setting a subdomain though? I didn't find an example of it in the 'playground'.
Hello, I'm trying to use this module for my subdomain redirect.
Everything works great unless that when visiting my subdomain direction, blog.domain.com
, It always shows the domain.com
for around 0.5s, then the webpage to jump to the target page...
Is there a way to fix it? Or what might be the possible cause?
Thank you.
-delete me-
I'm encountering an issue when i'm trying to deploy my project on host it's not work but on localehost it's work properlly
. and thanks
I can access blog.localhost:3000 as well as localhost:3000/blog
but I want to limit it only to blog.localhost:3000 so if user tries to access subroute localhost:3000/blog it would need to display page not found. Is there a way to fix this?
I was wondering if there is a way to use nuxt-multi-tenancy with domains instead of subdomains. I'm more interested in using it like:
pages
domainA
...
domainB
...
Nuxt would then only serve pages from domainA for the domainA.com and domainB for the domainB.com.
Is that possible?
Thanks for any info,
Tom
When I am running the application locally, I visit jobs.localhost:3000/
and I can see that points to pages/jobs/index.vue
which I think is expected. However, when visiting a link such as jobs.localhost:3000/some-slug
, I see that this actually renders pages/[slug].vue
. I don't think that should be the intended behaviour. Am I missing something?
In my opinion, jobs.localhost:3000/some-slug
should render pages/jobs/[slug]/index.vue
which I think is failing.
Hi,
First of all, thank you for this package, it's awesome.
I would like to request a feature to support creating multiple tenant subdomains that point to different paths. Currently, the package allows defining only one tenantDynamicRoute with multiple domains. Expanding this to support multiple dynamic routes for different tenant subdomains would significantly enhance the flexibility of the package.
Hi,
thank you for this awesome project at first.
Is there a way how can I use navigateTo
, but to a specific tenant?
Like I'm on a landing page on http://localhost:3000
and I want to navigate to a dashboard but of specific tenant, f.e. http://test.localhost:3000/dashboard
Thanks
Hi, is there any build command on production?
I've build and deploy it on vercel using nuxt build
, it build perfectly until i open the tenant apps and it returns This site can’t provide a secure connection, Error ERR_SSL_PROTOCOL_ERROR
my nuxt.config.ts
export default defineNuxtConfig({
devtools: { enabled: true },
app: {
pageTransition: { name: "page", mode: "out-in" },
},
content: {
highlight: {
theme: "github-dark",
},
documentDriven: true,
},
modules: [
"@nuxtjs/tailwindcss",
"@nuxt/content",
"@hypernym/nuxt-anime",
"@nuxtjs/google-fonts",
"nuxt-multi-tenancy",
],
multiTenancy: {
rootDomains: ["test.local", "test.vercel.app"],
tenantDynamicRoute: "site",
},
anime: {
provide: true,
composables: true,
},
googleFonts: {
families: {
MuseoModerno: true,
Montserrat: true,
},
preload: true,
preconnect: true,
},
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.