[TOC]
A tool forces Vue to run in development.
Easy to debug online Vue code.
-
Open this website: https://cdn.jsdelivr.net/npm/pinia/dist/pinia.mjs
-
Copy it's content to
src/plugins/vendors/pinia.js
-
Modify the code as follows
- function devtoolsPlugin({ app, store, options }) {
+ export function devtoolsPlugin({ app, store, options }) {
- function registerPiniaDevtools(app, pinia) {
+ export function registerPiniaDevtools(app, pinia) {