Skip to content

Latest commit

 

History

History

browser-webpack

Bundle js-ipfs with Webpack!

In this example, you will find a boilerplate you can use to guide yourself into bundling js-ipfs with webpack, so that you can use it in your own web app!

Before you start

First clone this repo, install dependencies in the project root and build the project.

$ git clone https://github.com/ipfs/js-ipfs.git
$ cd js-ipfs
$ npm install
$ npm run build

Running the example

Once the daemon is on, run the following command within this folder:

$ npm start

Now open your browser at http://localhost:3000

You should see the following: