source: ReserveNGo-frontend/src/PiniaStores/restaurantStore.js@ 5b32153

Last change on this file since 5b32153 was 590f667, checked in by Ljubomir Ilievski <ilievski.ljubomir@…>, 3 months ago

Added Initial frontend

  • Property mode set to 100644
File size: 247 bytes
Line 
1
2
3import {defineStore} from 'pinia'
4
5
6export const restaurantStore = defineStore('restaurantStore', {
7
8 state(){
9 return {
10 name: '',
11
12 }
13 },
14 actions: {
15 setName (name) {
16 this.name = name
17 }
18 },
19 getters: {
20
21 }
22
23
24
25})
Note: See TracBrowser for help on using the repository browser.