Garethredfern Laravel Vue Versions Save

VueJS SPA example using Sanctum & Fortify authentication with Laravel.

v1.6.1

3 years ago
  • Refactor the Auth service to remove unnecessary async/await and return axios Promise.
  • Refactor the File service to remove unnecessary async/await and return axios Promise.

Useful link on the difference between returning await on MDN.

v1.6

3 years ago
  • Refactored authentication, adding better checking for API errors.
  • Login now checks for an authorized user before moving to the dashboard.
  • Changed the local storage guest variables to isGuest and isNotGuest some browsers don't like booleans in local storage.
  • Fixed a redirect issue if the guest middleware failed.

v1.5

3 years ago
  • Add the ability to have multiple middleware guards on a route.
  • Move the auth beforeEnter method to auth middleware.
  • Add a guest route which stops the login page being accessed if a user is logged in.
  • Move the isAdmin check for the users route to admin middleware.
  • Add a check for authUser on authUser component.

v1.4.1

3 years ago
  • Remove unused prop types for Flash Message.
  • Add check for error type being string, errorKeys.
  • Adjust mobile styles.

v1.4

3 years ago
  • Add basic messaging functionality. A user can post a message to the dashboard.
  • Improve error handling.
  • Adjust pagination styles.

v1.3.8

3 years ago

Improve error message handling.

  • Flash message component updated
  • getError method refactored

v1.3.7

3 years ago
  • Refactor BasePagination to allow path prop to be optional.
  • Remove unused user and message vuex state.

v1.3.6

3 years ago

Refactor users view. Move getUsers function into beforeRouteUpdate hook.

v1.3.5

3 years ago
  • Move pagination page count inside BasePagination component.
  • Add some more styles and icons to improve app ux.

v1.3.4

3 years ago

Refactor the user vuex store, create a setPaginatedUsers function to remove duplicate functionality.