@biz-storefront/auth
v2.0.86-alpha.0
Published
A embeddable single page application to handle authentication for your storefront.
Downloads
26
Readme
Biz Auth
A embeddable single page application to handle authentication for your storefront.
Requirements
In order for the application to work, it requires a Auth and Customer service interface implementation to be injected.
import Store from 'bizstore'
import Authentication from 'biz-auth'
import { AuthService, CustomerService } from '@biz-storefront/services'
const store = new Vuex.Store(Store)
const app = new Vue({
provide(){
return {
CustomerService,
AuthService
}
},
store,
...Authentication
})
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Run your end-to-end tests
npm run test:e2e
Run your unit tests
npm run test:unit