Skip to content

Commit a8055ef

Browse files
authored
Merge pull request #21 from MarkEEaton/master
add more detail to README.md
2 parents 2019587 + d829659 commit a8055ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ npm i -D esbuild-plugin-vue3
2323
Simple usage, this will resolve all `.vue` imports and load its parts independently. By default path aliases will be loaded from the tsconfig.json file, if any.
2424

2525
```js
26+
const esbuild = require("esbuild")
2627
const vuePlugin = require("esbuild-plugin-vue3")
2728

2829
esbuild.build({
@@ -36,6 +37,7 @@ esbuild.build({
3637
More advanced usage, generating HTML file:
3738

3839
```js
40+
const esbuild = require("esbuild")
3941
const vuePlugin = require("esbuild-plugin-vue3")
4042

4143
esbuild.build({

0 commit comments

Comments
 (0)