Skip to content

Instantly share code, notes, and snippets.

@shortdiv
Last active January 14, 2021 17:54
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shortdiv/9613a03c779ecd95ad0f41a5f249a9c0 to your computer and use it in GitHub Desktop.
Save shortdiv/9613a03c779ecd95ad0f41a5f249a9c0 to your computer and use it in GitHub Desktop.

Vue State Management and Vuex

This is a full-day workshop on architecting state management in Vue. In this workshop, you will learn why you should use Vuex in your Vue application. Through hands-on exercises, you will learn the basics of Vuex like state, actions, mutations, and getters. We will also cover using named modules as well as best practices. If time permits, we may even dive into the new composition api and how we can harness it for state management!

Slides!

https://github.com/shortdiv/vuex-workshop

Before You Arrive

Make sure you can create a new boilerplate Vue application using Vue CLI. This means you should be able to install it, generate the app, and run the app.

vue create my-app
cd my-app
npm install/yarn
npm run dev/yarn dev

You can optionally fork/star/pull this repo to follow along (branches represent different exercises): REPO WILL BE ADDED HERE

To get a leg up, make sure you understand these concepts:

More to Come

Star this gist as I'll add more materials for the workshop as we get closer to the date!

Resources

Things to read up on later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment