Skip to content

Commit 9ecc534

Browse files
committed
add dev script, fix example
1 parent 229ea0c commit 9ecc534

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/todoApp/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>VueFire Todo App Demo</title>
66
<script src="https://cdn.firebase.com/js/client/2.3.2/firebase.js"></script>
77
<script src="https://cdn.jsdelivr.net/vue/1.0.13/vue.js"></script>
8-
<script src="../../src/vuefire.js"></script>
8+
<script src="../../dist/vuefire.js"></script>
99
</head>
1010
<body>
1111

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"lint": "eslint --ext=js,html src tests examples karma.conf.js",
88
"test": "npm run lint && karma start karma.conf.js --single-run",
9+
"dev": "webpack src/vuefire.js dist/vuefire.js --watch",
910
"build-dev": "webpack src/vuefire.js dist/vuefire.js --output-library=VueFire --output-library-target=umd",
1011
"build-prod": "webpack src/vuefire.js dist/vuefire.min.js --output-library=VueFire --output-library-target=umd -p",
1112
"build": "npm run build-dev && npm run build-prod"

0 commit comments

Comments
 (0)