Git Product home page Git Product logo

nuxt-multi-tenancy's People

Contributors

danielroe avatar dependabot[bot] avatar harrytran998 avatar hieuhani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nuxt-multi-tenancy's Issues

Where do you define the sub domains?

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'.

Showing the main domain first, then jump to subdomain

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.

issue when deploy project

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

subdomain can be accessed same as subroute

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?

Using multiple domains instead of multiple

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

Why are links in `jobs.localhost:3000/` pointing to the files in the home directory?

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.

Multiple tenant routes

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.

Redirecting to a specific tenant

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

Multi Tenant Blocked In Production

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,
  },
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.