Files
directus/app/src/components
..
2020-12-08 10:32:12 +01:00
2021-01-20 19:28:57 -05:00
2021-01-14 21:50:43 -05:00
2021-01-14 21:50:43 -05:00
2021-02-12 16:39:17 -05:00
2020-11-09 12:29:01 -05:00
2020-11-09 12:29:01 -05:00
2021-02-16 16:31:43 -05:00
2021-02-12 16:39:17 -05:00
2021-01-15 11:07:55 -05:00
2020-12-04 17:12:53 +01:00
2020-07-29 11:24:52 -04:00
2021-02-12 16:39:17 -05:00
2020-11-09 12:29:01 -05:00
2020-07-29 11:24:52 -04:00
2021-02-12 16:39:17 -05:00

Components

Components are custom elements that can reused in various other places.

Storybook / Tests

Every component should have an entry in Storybook, and should have unit tests where appropriate.

Naming

Components must always have a - in the name. This makes sure we don't run into any conflicts with HTML element names.

Base Components

The core-most base-components are prefixed with v- (for example v-icon and v-button). These components can not rely on any global store.

Private Components

Every now and again, it makes sense to split up a bigger component in smaller sub-parts for code maintainability and organization reasons. These "internal private components" are prefixed with a _ and should never be used standalone.