plugin ทั้งหมดธุรกิจ

หลาย tenant

เสถียร

หลายเว็บหรือหลายลูกค้าใน CMS เดียว แต่ละรายมีเนื้อหา สมาชิก และบทบาทของตัวเอง

@easy-cms/plugin-multi-tenant16,600 ดาวน์โหลดทั้งหมด3,290 ดาวน์โหลดสัปดาห์ที่แล้ว

ทำอะไรได้บ้าง

  • แต่ละ tenant มีเนื้อหา สมาชิก และบทบาทของตัวเอง
  • ตัวสลับ tenant ในหน้า admin
  • ใช้คู่กับหน้าซ้อนกัน redirect และฟอร์มได้
  • deploy ครั้งเดียวสำหรับทุกลูกค้า

ติดตั้ง

$npm install @easy-cms/plugin-multi-tenant

ใน easy-cms.config.ts

easy-cms.config.ts
import { defineConfig } from '@easy-cms/core'
import { multiTenantPlugin } from '@easy-cms/plugin-multi-tenant'

export default defineConfig({
  // …
  plugins: [multiTenantPlugin({ collections: ['posts', 'pages', 'media'] })],
})
ยอดดาวน์โหลด 30 วันล่าสุด · 13,225

ข้อมูลจาก npm ตัวเลขรวมการติดตั้งอัตโนมัติ เช่น CI