Last change
on this file since 03d08f3 was ff641e1, checked in by Ljubomir Ilievski <ilievski.ljubomir@…>, 3 months ago |
Sredeno so inicijalnite fechovi
|
-
Property mode
set to
100644
|
File size:
762 bytes
|
Line | |
---|
1 | <script>
|
---|
2 |
|
---|
3 |
|
---|
4 | import { restaurantStore } from '@/PiniaStores/restaurantStore.js'
|
---|
5 |
|
---|
6 | export default {
|
---|
7 | data(){
|
---|
8 | return {
|
---|
9 | restaurant:{
|
---|
10 | name: '',
|
---|
11 | address: ''
|
---|
12 | },
|
---|
13 | restaurantStore: restaurantStore()
|
---|
14 | }
|
---|
15 | }
|
---|
16 | }
|
---|
17 |
|
---|
18 | </script>
|
---|
19 |
|
---|
20 | <template>
|
---|
21 | <div id="container" class="border px-5 py-2">
|
---|
22 | <p>Local details...</p>
|
---|
23 | <p>Working hours: {{restaurantStore.workingHours}}</p>
|
---|
24 | <ul v-for="service in restaurantStore.availableServices" :key="service">
|
---|
25 | <li>{{service}}</li>
|
---|
26 | </ul>
|
---|
27 | <p>Average rating...</p>
|
---|
28 | <button class="btn btn-dark">More details</button>
|
---|
29 | <button class="btn btn-dark ms-2">Make reservation</button>
|
---|
30 | </div>
|
---|
31 | </template>
|
---|
32 |
|
---|
33 | <style scoped>
|
---|
34 |
|
---|
35 | #container {
|
---|
36 |
|
---|
37 | font-size: 20px;
|
---|
38 |
|
---|
39 | }
|
---|
40 |
|
---|
41 | </style>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.