Skip to content

Commit 1f9ba51

Browse files
committed
Fix README instructions
1 parent 0484afe commit 1f9ba51

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ export default {
8888
```
8989

9090
Moreover, the infoview javascript files need to be served:
91+
92+
```
93+
npm install @leanprover/infoview
94+
```
95+
9196
```ts
9297
// vite.config.ts
9398
import { viteStaticCopy } from 'vite-plugin-static-copy'
@@ -101,7 +106,7 @@ export default {
101106
{
102107
src: [
103108
normalizePath(path.resolve(__dirname, './node_modules/@leanprover/infoview/dist/*')),
104-
normalizePath(path.resolve(__dirname, './node_modules/lean4monaco/webview/webview.js')),
109+
normalizePath(path.resolve(__dirname, './node_modules/lean4monaco/dist/webview/webview.js')),
105110
],
106111
dest: 'infoview'
107112
}

0 commit comments

Comments
 (0)