mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Declare js vars from Blade template at Vue prototype level to ease access in vue components
This commit is contained in:
3
resources/js/app.js
vendored
3
resources/js/app.js
vendored
@ -8,6 +8,9 @@ import App from './components/App'
|
||||
|
||||
import './components'
|
||||
|
||||
Vue.prototype.$appSettings = appSettings
|
||||
Vue.prototype.$appVersion = appVersion
|
||||
|
||||
const app = new Vue({
|
||||
el: '#app',
|
||||
components: { App },
|
||||
|
Reference in New Issue
Block a user