Skip to content

Commit 2ea7805

Browse files
committed
Add vue-router to example
1 parent 95eede5 commit 2ea7805

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
1111
},
1212
"dependencies": {
13-
"vue": "^2.5.11"
13+
"vue": "^2.5.11",
14+
"vue-router": "^3.0.1"
1415
},
1516
"browserslist": [
1617
"> 1%",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/vue-axe.js",
66
"scripts": {
77
"dev": "rollup --config rollup.config.dev.js --watch",
8-
"dist": "rollup --config rollup.config.prod.js",
8+
"dist": "rollup --config rollup.config.prod.js --environment NODE_ENV:production",
99
"release": "standard-version",
1010
"test": "node_modules/.bin/cypress run",
1111
"test:open": "node_modules/.bin/cypress open",

0 commit comments

Comments
 (0)