0.1.11 • Published 10 months ago

@viur/shop-components v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Structure

  • Main components have to be exported in ./src/main.js. Main Components should be in folder ./src/components.
  • Ui Elements for main components should be in ./src/components/ui so everyone who contributes can see if there is an element/component already for their use.
  • Components should be as small as possible to make the code easier to access and understand, thats why the directory structure has importance.
  • Every logic/function according to articles/items/cart or anything else should be in the cartStore in ./src/stores/cart.js - reason is as follows - all components get their data with so called props which are not "reactive" by nature. We want to trigger a rerender if we change/add/edit... items thats why anything according to that should be in the cartStore. Read the cartStore carefully and use the already existing states to grant a clean rerender/reactive process. The props all get updated as soon as the main states get updated in the cartStore -> rerender --> profit...

Try to understand this structure and adopt it with new components for easy implementation without much effort.

Real documentation is coming soon...

0.1.10

10 months ago

0.1.11

10 months ago

0.1.7-0

10 months ago

0.1.8

10 months ago

0.1.7

10 months ago

0.1.9

10 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4-0

11 months ago

0.1.0

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.0.1-dev.61

1 year ago

0.0.1-dev.60

1 year ago

0.0.1-dev.49

1 year ago

0.0.1-dev.53

1 year ago

0.0.1-dev.52

1 year ago

0.0.1-dev.51

1 year ago

0.0.1-dev.50

1 year ago

0.0.1-dev.57

1 year ago

0.0.1-dev.56

1 year ago

0.0.1-dev.54

1 year ago

0.0.1-dev.58

1 year ago

0.0.1-dev.42

1 year ago

0.0.1-dev.41

1 year ago

0.0.1-dev.40

1 year ago

0.0.1-dev.46

1 year ago

0.0.1-dev.45

1 year ago

0.0.1-dev.44

1 year ago

0.0.1-dev.43

1 year ago

0.0.1-dev.48

1 year ago

0.0.1-dev.47

1 year ago

0.0.1-dev.35

1 year ago

0.0.1-dev.34

1 year ago

0.0.1-dev.33

1 year ago

0.0.1-dev.32

1 year ago

0.0.1-dev.39

1 year ago

0.0.1-dev.38

1 year ago

0.0.1-dev.37

1 year ago

0.0.1-dev.36

1 year ago

0.0.1-dev.20

2 years ago

0.0.1-dev.29

2 years ago

0.0.1-dev.24

2 years ago

0.0.1-dev.23

2 years ago

0.0.1-dev.22

2 years ago

0.0.1-dev.21

2 years ago

0.0.1-dev.28

2 years ago

0.0.1-dev.27

2 years ago

0.0.1-dev.26

2 years ago

0.0.1-dev.25

2 years ago

0.0.1-dev.31

2 years ago

0.0.1-dev.30

2 years ago

0.0.1-dev.19

2 years ago

0.0.1-dev.18

2 years ago

0.0.1-dev.13

2 years ago

0.0.1-dev.12

2 years ago

0.0.1-dev.11

2 years ago

0.0.1-dev.10

2 years ago

0.0.1-dev.17

2 years ago

0.0.1-dev.16

2 years ago

0.0.1-dev.15

2 years ago

0.0.1-dev.14

2 years ago

0.0.1-dev.8

2 years ago

0.0.1-dev.9

2 years ago

0.0.1-dev.6

2 years ago

0.0.1-dev.5

2 years ago

0.0.1-dev.7

2 years ago

0.0.1-dev.4

2 years ago

0.0.1-dev.3

2 years ago

0.0.1-dev.2

2 years ago