-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/KWYG-Sprint-0' into KWYG-21-CI/C…
…D-einrichten
- Loading branch information
Showing
12 changed files
with
50 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,10 @@ | ||
import { createStore } from "framework7/lite"; | ||
|
||
const store = createStore({ | ||
state: { | ||
products: [ | ||
{ | ||
id: "1", | ||
title: "Apple iPhone 8", | ||
description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nisi tempora similique reiciendis.", | ||
}, | ||
{ | ||
id: "2", | ||
title: "Apple iPhone 8 Plus", | ||
description: "Velit odit autem modi saepe ratione totam minus, aperiam, labore quia provident temporibus.", | ||
}, | ||
{ | ||
id: "3", | ||
title: "Apple iPhone X", | ||
description: "Expedita sequi perferendis quod illum pariatur aliquam, alias laboriosam! Vero blanditiis.", | ||
}, | ||
], | ||
}, | ||
getters: { | ||
products({ state }) { | ||
return state.products; | ||
}, | ||
}, | ||
actions: { | ||
addProduct({ state }, product) { | ||
state.products = [...state.products, product]; | ||
}, | ||
}, | ||
state: {}, | ||
|
||
getters: {}, | ||
|
||
actions: {}, | ||
}); | ||
export default store; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.