Skip to content

Commit

Permalink
Fix README instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 1, 2024
1 parent 0484afe commit 1f9ba51
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ export default {
```

Moreover, the infoview javascript files need to be served:

```
npm install @leanprover/infoview
```

```ts
// vite.config.ts
import { viteStaticCopy } from 'vite-plugin-static-copy'
Expand All @@ -101,7 +106,7 @@ export default {
{
src: [
normalizePath(path.resolve(__dirname, './node_modules/@leanprover/infoview/dist/*')),
normalizePath(path.resolve(__dirname, './node_modules/lean4monaco/webview/webview.js')),
normalizePath(path.resolve(__dirname, './node_modules/lean4monaco/dist/webview/webview.js')),
],
dest: 'infoview'
}
Expand Down

0 comments on commit 1f9ba51

Please sign in to comment.