-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4cd2e5
commit 3c3445b
Showing
9 changed files
with
198 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
resources/assets/js/vendor/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,50 @@ | ||
import Translations from './lang/locales.js'; | ||
import VueI18n from 'vue-i18n'; | ||
import Translations from './lang/locales.js' | ||
import Vue from 'vue' | ||
import VueI18n from 'vue-i18n' | ||
|
||
/** | ||
* First we will load all of this project's JavaScript dependencies which | ||
* includes Vue and other libraries. It is a great starting point when | ||
* building robust, powerful web applications using Vue and Laravel. | ||
*/ | ||
|
||
require('./bootstrap'); | ||
require('./common'); | ||
require('./cookies'); | ||
require('./bootstrap') | ||
require('./common') | ||
require('./cookies') | ||
|
||
/** | ||
* Next, we will create a fresh Vue application instance and attach it to | ||
* the body of the page. From here, you may begin adding components to | ||
* the application, or feel free to tweak this setup for your needs. | ||
*/ | ||
|
||
Vue.use(VueI18n); | ||
Vue.use(VueI18n) | ||
|
||
const i18n = new VueI18n({ | ||
locale: document.documentElement.lang, | ||
fallbackLocale: 'en', | ||
messages: Translations | ||
}); | ||
}) | ||
|
||
/** | ||
* Laravel Passport | ||
*/ | ||
Vue.component( | ||
'passport-clients', | ||
require('./components/passport/Clients.vue') | ||
); | ||
) | ||
|
||
Vue.component( | ||
'passport-authorized-clients', | ||
require('./components/passport/AuthorizedClients.vue') | ||
); | ||
) | ||
|
||
Vue.component( | ||
'passport-personal-access-tokens', | ||
require('./components/passport/PersonalAccessTokens.vue') | ||
); | ||
) | ||
|
||
const app = new Vue({ | ||
new Vue({ | ||
el: '#app', | ||
i18n: i18n | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.