Skip to content
Snippets Groups Projects
Commit c71163f9 authored by Benedikt's avatar Benedikt
Browse files

fixed js import statement in doku

parent b60708e7
Branches
No related tags found
No related merge requests found
...@@ -28,8 +28,8 @@ Or clone the repository and bundle the code with your preferred bundler (Webpack ...@@ -28,8 +28,8 @@ Or clone the repository and bundle the code with your preferred bundler (Webpack
For ES modules, import the classes as follows: For ES modules, import the classes as follows:
```js ```js
import { DSIUnit } from "dsi-units-js-lib/src/dsiUnit.js"; import { DSIUnit } from "dsiunits-js/src/dsiUnit.js";
import "dsi-units-js-lib/src/dsiUnitInput.js"; // This registers the <dsi-unit-input> custom element. import "dsiunits-js/src/dsiUnitInput.js"; // This registers the <dsi-unit-input> custom element.
``` ```
### Using the DSIUnit Class ### Using the DSIUnit Class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment