@websanova/vue-auth
Advanced tools
Comparing version 1.0.9-dev to 1.0.10-dev
@@ -17,3 +17,3 @@ { | ||
"version": "1.0.9-dev", | ||
"version": "1.0.10-dev", | ||
@@ -46,3 +46,3 @@ "repository": { | ||
"replace-webpack-plugin": "0.1.2", | ||
"@websanova/vue-auth": "1.0.9-dev" | ||
"@websanova/vue-auth": "1.0.10-dev" | ||
}, | ||
@@ -49,0 +49,0 @@ |
@@ -20,3 +20,2 @@ # Vue Auth | ||
Vue 2.x is not currently supported due to many inconsistencies between libraries. | ||
@@ -27,2 +26,3 @@ * vue 1.0.26 | ||
Early support for Vue 2.0 is now available also but may still be a bit unstable due to many changes in the api. Please let me know of any issues you may find. | ||
@@ -50,7 +50,9 @@ | ||
**NOTE:** If you do not set your router as `Vue.router = new VueRouter()` then you will need to feed the `router` in directly as an optional third argument. | ||
**NOTE:** If you do not set your router as `Vue.router = new VueRouter()` then you will need to feed the `router` in directly through the options. | ||
~~~ | ||
var router = new VueRouter(); | ||
Vue.use(Auth, options, router); | ||
Vue.use(Auth, { | ||
router: router | ||
}); | ||
~~~ | ||
@@ -73,3 +75,3 @@ | ||
There is a demo server already available in the demo. If a different path is required it must be set in the `demo/app.js` file. | ||
If a different path is required it must be set in the `demo/app.js` file. | ||
@@ -102,2 +104,6 @@ To run the build: | ||
}, | ||
'/private': { | ||
auth: [{"people": "administrator", "people": "superadmin"}], | ||
component: require('./Account') | ||
}, | ||
'/login': { | ||
@@ -104,0 +110,0 @@ auth: false, |
@@ -457,3 +457,3 @@ var __utils = require('./lib/utils.js'), | ||
return this.watch.data; | ||
return this.watch.data || {}; | ||
}; | ||
@@ -460,0 +460,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216452
5144
534