-
Notifications
You must be signed in to change notification settings - Fork 27
Architecture
Diagrams about Cylc UI architecture. Useful for other developers, not intended for wider audience.
This diagram shows an example of how the UI components are organized when you access the route /#/
(the application dashboard) in your browser. Take a look at src/router/index.js
to see what else VueRouter is doing. And for the layout, look at the App.vue
computed variables.
The VMain
component is not in our source code directory. It was left intentionally to show that Alert.vue
and Dashboard.vue
both share a parent, and also to point that we have several components in the UI structure that are imported from Vuetify.
The best way to visualize the complete list of components and how they are organized hierarchically is using the Vue Dev Utils browser extension. Note in the Vue Dev Utils screenshot below that it displays the same structure above, but with more components.
NOTE: there are two Vue extensions in the screenshot above, one for Vue 2 and one for Vue 3. Pay attention to which version you install. Cylc UI is built with Vue 2.