Skip to content

Commit

Permalink
fix: fix Vue app initialisation (#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Dec 23, 2018
1 parent ecea290 commit ceb4875
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/js/manifest.js": "/js/manifest.js?id=01c8731923a46c30aaed",
"/js/app.js": "/js/app.js?id=127a528ab4e0efa2cddc",
"/js/app.js": "/js/app.js?id=0d81717cb0391891517f",
"/css/app-ltr.css": "/css/app-ltr.css?id=d1a924515047b23cda18",
"/css/app-rtl.css": "/css/app-rtl.css?id=6cd44baa52797bd315d6",
"/css/stripe.css": "/css/stripe.css?id=2de4e0ce557016a0327e",
Expand Down
4 changes: 1 addition & 3 deletions resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,11 @@ export function loadLanguageAsync (lang, set) {
return Promise.resolve(set ? setI18nLanguage(lang) : lang);
}

const app = null;
const me = this;
loadLanguageAsync(window.Laravel.locale, true).then((lang) => {
moment.locale(lang);

// the Vue appplication
me.app = new Vue({
const app = new Vue({
i18n,
data: {
reminders_frequency: 'once',
Expand Down

0 comments on commit ceb4875

Please sign in to comment.