That's the complete source code with comments from the video tutorial Dark Layout Mode with Vue JS
A Dark Layout Mode implemented with Vue JS. The state is persisted in local storage from the browser. I use font awesome icons for the dark mode toggle.
Learn Vue JS - From The Ground Up
Learn Vue JS - Additional Libaries
Vue JS Animations and Transitions
Learn Nuxt JS - From The Ground Up
npm install
npm run serve
npm run build
npm run test
npm run lint