Loading...
Loading...
Compare original and translation side by side
>=2.0.0-rc.5>=2.0.0-rc.5package.jsonnode_modules/@c15t/nextjs/docs/README.mdnode_modules/@c15t/react/docs/README.mdnode_modules/c15t/docs/README.mdnode_modules/c15t/docs/docs/README.mdls@c15t/backendnode_modules/c15t/docs/find node_modules -path "*/c15t/docs/README.md" -not -path "*/node_modules/*/node_modules/*/node_modules/*" | head -1package.jsonnode_modules/@c15t/nextjs/docs/README.mdnode_modules/@c15t/react/docs/README.mdnode_modules/c15t/docs/README.mdnode_modules/c15t/docs/docs/README.mdls@c15t/backendnode_modules/c15t/docs/find node_modules -path "*/c15t/docs/README.md" -not -path "*/node_modules/*/node_modules/*/node_modules/*" | head -1README.mdnode_modulesREADME.mdscriptsimport { googleTagManager } from '@c15t/scripts/google-tag-manager'
import { ConsentManagerProvider } from '@c15t/react'
<ConsentManagerProvider options={{ scripts: [googleTagManager({ id: 'GTM-XXXX' })] }}>node_modules/@c15t/scripts/README.mddocs/integrations/{ id, src, category }docs/script-loader.mdscriptsimport { googleTagManager } from '@c15t/scripts/google-tag-manager'
import { ConsentManagerProvider } from '@c15t/react'
<ConsentManagerProvider options={{ scripts: [googleTagManager({ id: 'GTM-XXXX' })] }}>node_modules/@c15t/scripts/README.mddocs/integrations/{ id, src, category }docs/script-loader.mdConsentManagerProvider.options.i18nlayoutdirectionprimaryButtonlegalLinkshideBrandingshowTriggertheme.consentActionsnoStyleConsentManagerProvider.options.i18nlayoutdirectionprimaryButtonlegalLinkshideBrandingshowTriggertheme.consentActionsnoStyletheme.colors.surfaceHovertheme.colors.surfacetheme.slots.consentBannerFootertheme.slots.consentBannerCardtheme.slots.consentBannerTitletheme.consentActionsi18ntheme.colors.surfaceHovertheme.colors.surfacetheme.slots.consentBannerFootertheme.slots.consentBannerCardtheme.slots.consentBannerTitletheme.consentActionsi18n!importantnoStylenoStyletheme.consentActionstitledescriptionacceptButtonText!importantnoStylenoStyletheme.consentActionstitledescriptionacceptButtonTexti18nConsentManagerProvidertitledescriptionacceptButtonTextInternationalizationConsentManagerProvideri18ntitledescriptionacceptButtonText国际化(Internationalization)| Mode | Description |
|---|---|
| Managed hosting, no infrastructure to maintain |
| For users who need full control |
| Local storage only, for prototyping or local dev |
offlinedocs/concepts/client-modes.md| 模式 | 描述 |
|---|---|
搭配consent.io的 | 托管式服务,无需维护基础设施 |
搭配自托管后端的 | 适用于需要完全控制权的用户 |
| 仅使用本地存储,用于原型开发或本地调试 |
offlinedocs/concepts/client-modes.mdnpm view @c15t/cli versionnpx @c15t/cli@<exact-version> generatenpm view @c15t/cli versionnpx @c15t/cli@<exact-version> generate@c15t/*@c15t@c15t/*@c15t