mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-05 13:46:36 +00:00
browser not opening and wrong ipfs lib reference
This commit is contained in:
parent
db9ef075fb
commit
82bbc8bdbb
@ -160,14 +160,14 @@ to redo the local package-lock.json with working native dependencies.
|
|||||||
### Browser example
|
### Browser example
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run build
|
make
|
||||||
npm run examples:browser
|
npm run examples:browser # if browser isn't opening, open examples/browser/browser.html in your browser
|
||||||
```
|
```
|
||||||
|
|
||||||
Using Webpack:
|
Using Webpack:
|
||||||
```
|
```
|
||||||
npm run build
|
make
|
||||||
npm run examples:browser-webpack
|
npm run examples:browser-webpack # if browser isn't opening, open examples/browser/browser-webpack-example/index.html in your browser
|
||||||
```
|
```
|
||||||
|
|
||||||
<p align="left">
|
<p align="left">
|
||||||
|
@ -51,8 +51,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="writerText"></div>
|
<div id="writerText"></div>
|
||||||
|
|
||||||
<script type="text/javascript" src="../../dist/orbitdb.js" charset="utf-8"></script>
|
<script type="text/javascript" src="lib/orbitdb.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="../../node_modules/ipfs/index.min.js" charset="utf-8"></script>
|
<script type="text/javascript" src="lib/ipfs.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" src="example.js" charset="utf-8"></script>
|
<script type="text/javascript" src="example.js" charset="utf-8"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
// Start the example
|
// Start the example
|
||||||
|
Loading…
x
Reference in New Issue
Block a user