@ng-prism/core 21.0.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,14 +23,14 @@ Lightweight, Angular-native component showcase tool. Annotate components with `@
|
|
|
23
23
|
### 1. Install
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
npm install ng-prism
|
|
26
|
+
npm install @ng-prism/core
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
### 2. Add `@Showcase` to a component
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
import { Component, input, output } from '@angular/core';
|
|
33
|
-
import { Showcase } from 'ng-prism';
|
|
33
|
+
import { Showcase } from '@ng-prism/core';
|
|
34
34
|
|
|
35
35
|
@Showcase({
|
|
36
36
|
title: 'Button',
|
|
@@ -74,7 +74,7 @@ Open `http://localhost:4400` — your component appears in the sidebar with live
|
|
|
74
74
|
|
|
75
75
|
```typescript
|
|
76
76
|
// ng-prism.config.ts
|
|
77
|
-
import { defineConfig } from 'ng-prism/config';
|
|
77
|
+
import { defineConfig } from '@ng-prism/core/config';
|
|
78
78
|
import { jsDocPlugin } from '@ng-prism/plugin-jsdoc';
|
|
79
79
|
|
|
80
80
|
export default defineConfig({
|