- project model : refactor getSteps() method - create dialog store - create DialogWrapper component that open the dialog corresponding to the URL query param
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
import { defineStore } from "pinia";
|
|
import { ref } from "vue";
|
|
|
|
export const useDialogStore = defineStore("dialog", () => {
|
|
const content = ref(null);
|
|
|
|
return { content };
|
|
});
|