Skip to content

Commit

Permalink
iniciando trabalhos no REDLINE-20
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Jul 1, 2023
1 parent 6320001 commit 484391b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web-app-vue/src/stores/categoriaStore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineStore } from 'pinia'
import { reactive } from 'vue'
import { getRedLine } from "@/services/redLine";

export const useCategoriaStore = defineStore('categoria-store', () => {
const store = reactive({
categorias: getRedLine().categorias || []
})

return { store }
})

0 comments on commit 484391b

Please sign in to comment.