Skip to content

Commit 806dcfa

Browse files
committed
docs(bundler): add short usage in readme
1 parent da9e7c3 commit 806dcfa

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
# `@posva/vuefire-bundler`
22

3-
> TODO: description
3+
> common config used to bundle vuefire and vuexfire
44
55
## Usage
66

7+
```sh
8+
node --eval 'require("@posva/vuefire-bundler")("MyLibrary")'
79
```
8-
const vuefireBundler = require('@posva/vuefire-bundler');
910

10-
// TODO: DEMONSTRATE API
11+
It can be added as a script in `package.json` file:
12+
13+
```json
14+
{
15+
"scripts": {
16+
"build": "node --eval 'require(\"@posva/vuefire-bundler\")(\"Vuexfire\")'"
17+
}
18+
}
1119
```
20+
21+
## License
22+
23+
[MIT](http://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)