Transitioning to Vue. Installed environment and restored homepage scene overview.

This commit is contained in:
2019-06-03 05:31:38 +02:00
parent b8c2878fc3
commit b8aa81b3f1
37 changed files with 5261 additions and 413 deletions

View File

@@ -0,0 +1,3 @@
function initAuthActions(_store, _router) {}
export default initAuthActions;

13
assets/js/auth/auth.js Normal file
View File

@@ -0,0 +1,13 @@
import state from './state';
import mutations from './mutations';
import actions from './actions';
function initAuthStore(store, router) {
return {
state,
mutations,
actions: actions(store, router),
};
}
export default initAuthStore;

View File

@@ -0,0 +1 @@
export default {};

4
assets/js/auth/state.js Normal file
View File

@@ -0,0 +1,4 @@
export default {
authenticated: false,
user: null,
};