plugin ทั้งหมดธุรกิจ
หลาย tenant
เสถียรหลายเว็บหรือหลายลูกค้าใน CMS เดียว แต่ละรายมีเนื้อหา สมาชิก และบทบาทของตัวเอง
ทำอะไรได้บ้าง
- แต่ละ 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'] })],
})ข้อมูลจาก npm ตัวเลขรวมการติดตั้งอัตโนมัติ เช่น CI