Skip to content

Commit 4cf28b7

Browse files
📚 Fix module name
1 parent 5d25cdc commit 4cf28b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@ The `customElements.define()` will also be included.
113113

114114
```javascript
115115
// For highlighting, `highlight.js/lib/common` will be used.
116-
import 'html-code-block-element';
116+
import '@heppokofrontend/html-code-block-element';
117117
// For highlighting, `highlight.js` will be used.
118-
import 'html-code-block-element/dist/index.all';
118+
import '@heppokofrontend/html-code-block-element/dist/index.all';
119119
// For highlighting, `highlight.js/lib/code` will be used.
120-
import 'html-code-block-element/dist/index.core';
120+
import '@heppokofrontend/html-code-block-element/dist/index.core';
121121
```
122122

123123
If you are using purely constructors:
124124

125125
```javascript
126-
import HTMLCodeBlockElement from 'html-code-block-element/dist/class/HTMLCodeBlockElement';
126+
import HTMLCodeBlockElement from '@heppokofrontend/html-code-block-element/dist/class/HTMLCodeBlockElement';
127127
```
128128

129129
#### Use as constructor
@@ -134,8 +134,8 @@ Manual setup:
134134
// 1. Import
135135
import hljs from 'highlight.js/lib/core';
136136
import javascript from 'highlight.js/lib/languages/javascript';
137-
import HTMLCodeBlockElement from 'html-code-block-element/dist/class/HTMLCodeBlockElement';
138-
// or import { HTMLCodeBlockElement } from 'html-code-block-element';
137+
import HTMLCodeBlockElement from '@heppokofrontend/html-code-block-element/dist/class/HTMLCodeBlockElement';
138+
// or import { HTMLCodeBlockElement } from '@heppokofrontend/html-code-block-element';
139139

140140
// Support JavaScript
141141
hljs.registerLanguage('javascript', javascript);

0 commit comments

Comments
 (0)