0.0.2 • Published 6 years ago

@revas/ui v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Revas UI

js-standard-style

Libraries, tools and helpers to build Revas Vue applications.

Authentication

You can use the ready authentication Vuex store to build your app.

const authStoreConfig = {
    domain: process.env.VUE_APP_OAUTH_DOMAIN,
    clientID: process.env.VUE_APP_OAUTH_CLIENT_ID,
    redirectUri: process.env.VUE_APP_OAUTH_REDIRECT_URI,
    audience: process.env.VUE_APP_OAUTH_AUDIENCE
}
import { makeAuthStore } from '@revas/ui/vue'

const authStore = makeAuthStore(authStoreConfig)
import Revas from '../../../vue'

Revas.install({}, [], {
  router: {
    default: '/'
  }
})