Files
directus/app/src/components
2020-08-31 15:04:36 -04:00
..
2020-08-11 11:24:14 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-08-29 08:44:49 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-08-29 08:44:49 -04:00
2020-07-29 11:24:52 -04:00
2020-08-28 15:52:44 -04:00
2020-08-28 15:52:44 -04:00
2020-08-25 13:59:16 -04:00
2020-08-12 17:14:34 -04:00
2020-08-29 08:44:49 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-08-29 08:44:49 -04:00
2020-07-29 11:24:52 -04:00
2020-08-13 16:15:33 -04:00
2020-07-29 11:24:52 -04:00
2020-07-29 11:24:52 -04:00
2020-08-12 17:26:38 -04:00
2020-08-25 14:02:50 -04:00
2020-08-21 15:25:03 -06:00
2020-08-28 10:53:22 -04:00
2020-07-29 11:24:52 -04:00
2020-08-11 15:34:01 -04:00
2020-07-29 11:24:52 -04: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.