Tasks moved to components
This commit is contained in:
30
frontend/src/stores/AppStore.js
Normal file
30
frontend/src/stores/AppStore.js
Normal file
@@ -0,0 +1,30 @@
|
||||
export default {
|
||||
data: {
|
||||
user: {
|
||||
_id: '1234',
|
||||
username: 'Example User',
|
||||
email: 'test@example.com'
|
||||
},
|
||||
newTask: {},
|
||||
fetchedTasks: [
|
||||
{
|
||||
title: 'frontend',
|
||||
project: 'TiM',
|
||||
client: 'Filip Rojek',
|
||||
timeStart: 1703960133061,
|
||||
timeEnd: 1703960141414
|
||||
},
|
||||
{
|
||||
title: 'setting up',
|
||||
project: 'l2tp vpn',
|
||||
client: 'IS Media',
|
||||
timeStart: 1703960133061,
|
||||
timeEnd: 1703960141414
|
||||
}
|
||||
]
|
||||
},
|
||||
// Methods that you need, for e.g fetching data from server etc.
|
||||
fetchData() {
|
||||
// fetch logic
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user