vue3 vuex4 example

Handle Vue3 (Composition API) with Vuex4 (state manager) and Axios(http requests)

2
1
Vue

Vue 3 Vuex4 Example

Description

Vue 3 example project with:

  • Vuex 4.0.0-rc.2 (state manager)
  • Vue-router (routing frontend pages)
  • Axios (http lib for mock backend requests, supporting handling errors (4**))
  • SweetAlert2 (example popups, dependent on vuex state watcher)

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.