Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mientjan authored Mar 18, 2019
1 parent f62de2c commit 0a0002b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Files defined in the .gltf file __must__ be relative to the .gltf file.

This loader still does not work with the public path. We dont have a idea how to solve that.

### Install
```js
npm install gltf-webpack-loader -S
yarn add gltf-webpack-loader
```

### Usage

#### Webpack
Expand Down Expand Up @@ -62,4 +68,4 @@ loader.load(gltfPath, gltf => {
console.error( 'An error happened', error );
},
);
```
```

0 comments on commit 0a0002b

Please sign in to comment.