From 30819c15817bbfec86cdc4eb1d08d51a4ea0c776 Mon Sep 17 00:00:00 2001 From: cipchk Date: Wed, 13 Mar 2024 15:25:23 +0800 Subject: [PATCH] docs(cache): remove `DelonCacheModule` --- packages/cache/docs/getting-started.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/cache/docs/getting-started.md b/packages/cache/docs/getting-started.md index cfab44d96..da0cdef1f 100644 --- a/packages/cache/docs/getting-started.md +++ b/packages/cache/docs/getting-started.md @@ -34,22 +34,6 @@ cacheService.set('/data/unit', [ '个', '件' ]); npm i -S @delon/cache ``` -**注册** - -在根模块 `AppModule` 导入 `DelonCacheModule`; - -```ts -import { DelonCacheModule } from '@delon/cache'; - -@NgModule({ - imports: [ - DelonCacheModule - ] -}) -``` - -**注** 建议在根模块中导入,因为它只有 Service 为了防止重复被导入。 - ### 参数 | 成员 | 说明 | 类型 | 默认值 | 全局配置 |