-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vuestic contribution manual #1907
Comments
Overview modules diagramflowchart RL
subgraph "@vuestic/nuxt"
module
runtime("runtime (plugin)")
end
subgraph "@vuestic/docs"
page-configs
docs-components("components")
locales
end
subgraph "extensions"
subgraph "ag-grid"
end
end
subgraph vuestic-ui
direction LR
components
composables
utils
subgraph styles
direction TB
subgraph essential
css-variables
end
subgraph modules
typography
grid
d("reset (normalize)")
end
subgraph resources
mixins
variables
end
end
subgraph services
direction LR
global-config
color-config
component-config
icon-config
end
subgraph plugin
direction LR
createVuestic
createVuesticEssential
end
end
Use case
|
ComponentsFile structure
ExportsFrom
WithTransportConfig
StyleguideWe write all component in Composition API. This allows use to re-use a lot of functional from composables.
|
ComposablesComposable - function, that will be injected in component in setup function. Usually it provides reactive variables, computeds or methods. Great example of composables: https://vueuse.org/ Checklist:
export useDocument = () => useClientOnly(() => document)
|
StylesThere are three types of style
File structure
|
ServicesIdeally all services must be independent and user must be able to remove them easily, but here two exceptions: GlobalConfig, ColorConfig - these two are essential for vuestic components, at least for now. File structure
|
Docs for contributors.
In progress and must be moved to vuestic.dev as page, not issue.
The text was updated successfully, but these errors were encountered: