Files
directus/src/components
2020-04-23 18:45:03 -04:00
..
2020-04-06 15:25:58 -04:00
2020-04-16 16:20:23 -04:00
2020-04-22 13:19:20 -04:00
2020-04-06 15:25:58 -04:00
2020-04-22 13:19:20 -04:00
2020-04-23 09:12:12 -04:00
2020-04-22 16:39:43 -04:00
2020-04-22 13:19:20 -04:00
2020-04-20 15:24:42 -04:00
2020-04-23 14:01:27 -04:00
2020-04-20 14:11:16 -04:00
2020-04-02 20:48:01 -04:00
2020-04-23 18:16:17 -04:00
2020-04-06 15:25:58 -04:00
2020-04-23 18:16:17 -04:00
2020-04-22 11:46:45 -04:00
2020-04-09 19:06:15 -04:00
2020-04-22 13:19:20 -04:00
2020-04-23 18:16:17 -04:00
2020-04-02 12:10:13 -04:00
2020-04-20 14:11:16 -04:00
2020-04-02 12:10:13 -04:00
2020-04-02 12:10:13 -04:00
2020-04-23 18:16:17 -04:00
2020-02-05 15:07:20 -05:00
2020-04-22 14:20:25 -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.