Skip to content

Commit

Permalink
fixing the readme paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcfvs committed Apr 16, 2021
1 parent f2c2f3d commit bfdc9f9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
12 changes: 7 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lcf.vs/dom-engine",
"version": "2.2.0",
"version": "2.2.1",
"description": "A composable DOM based template engine",
"type": "module",
"main": "lib/engine.js",
Expand All @@ -9,15 +9,15 @@
},
"author": "lcf.vs <[email protected]>",
"dependencies": {
"eslint-plugin-promise": "^4.3.1",
"jsdom": "^16.3.0"
},
"devDependencies": {
"esbuild": "^0.11.11",
"eslint": "^7.22.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0"
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ To use it, you need to add the following components.
#### Into the `window` script

```js
import '@lcf.vs/dom-engine/worker-client.js'
import '@lcf.vs/dom-engine/lib/worker-client.js'
```

#### Into the `ServiceWorker` script

```js
import { serialize, template } from '@lcf.vs/dom-engine/worker.js'
import { serialize, template } from '@lcf.vs/dom-engine/lib/worker.js'

const text = 'This page is built by sw-template'

Expand Down

0 comments on commit bfdc9f9

Please sign in to comment.