Skip to content

Commit

Permalink
πŸ”§ : use alias @ in all import and export paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubuisson committed Apr 9, 2020
1 parent 26ca8e5 commit eb6dbbf
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions src/main/client/app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@import '~bootstrap-vue/dist/bootstrap-vue.min.css';
@import '~vue-multiselect/dist/vue-multiselect.min.css';
/* application css */
@import "./assets/css/style.css";
@import "./assets/css/color_2.css";
@import "./assets/css/responsive.css";
@import "~@/assets/css/style.css";
@import "~@/assets/css/color_2.css";
@import "~@/assets/css/responsive.css";
</style>
6 changes: 3 additions & 3 deletions src/main/client/app/layouts/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { default as AppDefaultLayout } from './default-layout.vue';
export { default as AppErrorLayout } from './error-layout.vue';
export { default as AppNoneLayout } from './none-layout.vue';
export { default as AppDefaultLayout } from '@/layouts/default-layout.vue';
export { default as AppErrorLayout } from '@/layouts/error-layout.vue';
export { default as AppNoneLayout } from '@/layouts/none-layout.vue';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/dashboard/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as dashboardRoutes } from './dashboard-routes';
export { default as dashboardRoutes } from '@/pages/dashboard/dashboard-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/jobs/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as jobsRoutes } from './jobs-routes';
export { default as jobsRoutes } from '@/pages/jobs/jobs-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/login/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as loginRoutes } from './login-routes';
export { default as loginRoutes } from '@/pages/login/login-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/modules/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as modulesRoutes } from './modules-routes';
export { default as modulesRoutes } from '@/pages/modules/modules-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/settings/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as settingsRoutes } from './settings-routes';
export { default as settingsRoutes } from '@/pages/settings/settings-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/stacks/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as stacksRoutes } from './stacks-routes';
export { default as stacksRoutes } from '@/pages/stacks/stacks-routes';
2 changes: 1 addition & 1 deletion src/main/client/app/pages/users/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as usersRoutes } from './users-routes';
export { default as usersRoutes } from '@/pages/users/users-routes';
4 changes: 2 additions & 2 deletions src/main/client/app/shared/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export {
getUser,
getAuthorities,
doLogout,
} from './authentication-api';
export { getBuildInfo } from './build-infos-api';
} from '@/shared/api/authentication-api';
export { getBuildInfo } from '@/shared/api/build-infos-api';
8 changes: 4 additions & 4 deletions src/main/client/app/shared/components/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as AppPageNotFound } from './error-pages/page-not-found.vue';
export { default as AppPageForbidden } from './error-pages/page-forbidden.vue';
export { default as AppTopBar } from './topbar/top-bar.vue';
export { default as AppSideBar } from './sidebar/side-bar.vue';
export { default as AppPageNotFound } from '@/shared/components/error-pages/page-not-found.vue';
export { default as AppPageForbidden } from '@/shared/components/error-pages/page-forbidden.vue';
export { default as AppTopBar } from '@/shared/components/topbar/top-bar.vue';
export { default as AppSideBar } from '@/shared/components/sidebar/side-bar.vue';
6 changes: 3 additions & 3 deletions src/main/client/app/shared/services/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export { authenticationGuard } from './authentication-guard';
export { authenticationGuard } from '@/shared/services/authentication-guard';
export {
getRequestedUrl,
setRequestedUrl,
hasRequestedUrl,
removeRequestedUrl,
} from './session-storage-service';
} from '@/shared/services/session-storage-service';
export {
getCookie,
setCookie,
isCookieExisting,
} from './cookie-service';
} from '@/shared/services/cookie-service';

0 comments on commit eb6dbbf

Please sign in to comment.