0.1.11 • Published 5 months ago

@viur/shop-components v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 months ago

0.1.11

5 months ago

0.1.7-0

5 months ago

0.1.8

5 months ago

0.1.7

5 months ago

0.1.9

5 months ago

0.1.4

5 months ago

0.1.3

6 months ago

0.1.6

5 months ago

0.1.5

5 months ago

0.1.4-0

5 months ago

0.1.0

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.0.1-dev.61

7 months ago

0.0.1-dev.60

8 months ago

0.0.1-dev.49

12 months ago

0.0.1-dev.53

12 months ago

0.0.1-dev.52

12 months ago

0.0.1-dev.51

12 months ago

0.0.1-dev.50

12 months ago

0.0.1-dev.57

12 months ago

0.0.1-dev.56

12 months ago

0.0.1-dev.54

12 months ago

0.0.1-dev.58

12 months 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

12 months 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

1 year ago

0.0.1-dev.29

1 year ago

0.0.1-dev.24

1 year ago

0.0.1-dev.23

1 year ago

0.0.1-dev.22

1 year ago

0.0.1-dev.21

1 year ago

0.0.1-dev.28

1 year ago

0.0.1-dev.27

1 year ago

0.0.1-dev.26

1 year ago

0.0.1-dev.25

1 year ago

0.0.1-dev.31

1 year ago

0.0.1-dev.30

1 year ago

0.0.1-dev.19

1 year ago

0.0.1-dev.18

1 year ago

0.0.1-dev.13

1 year ago

0.0.1-dev.12

1 year ago

0.0.1-dev.11

1 year ago

0.0.1-dev.10

1 year ago

0.0.1-dev.17

1 year ago

0.0.1-dev.16

1 year ago

0.0.1-dev.15

1 year ago

0.0.1-dev.14

1 year ago

0.0.1-dev.8

1 year ago

0.0.1-dev.9

1 year ago

0.0.1-dev.6

1 year ago

0.0.1-dev.5

1 year ago

0.0.1-dev.7

1 year ago

0.0.1-dev.4

1 year ago

0.0.1-dev.3

1 year ago

0.0.1-dev.2

1 year ago