You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the SCSS v1, we'll likely want to support Vue/React as well, and makes this as easy as possible.
A potential avenue to do this would be to create Vue or React components that use the existing stylesheets but provide a wrapper component around it to make them easier to use.
For example, the Wrapper component could look like this:
We would then be able to produce several distributions, and allow the end user to choose whichever distribution they require for their project.
This does have the maintenance overhead of providing components for each object we support, and for each JS framework that we support, but would allow Captain to be more easily integrated into those projects.
This discussion was converted from issue #5 on December 19, 2020 13:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After the SCSS v1, we'll likely want to support Vue/React as well, and makes this as easy as possible.
A potential avenue to do this would be to create Vue or React components that use the existing stylesheets but provide a wrapper component around it to make them easier to use.
For example, the Wrapper component could look like this:
or the Stack could look like this:
We would then be able to produce several distributions, and allow the end user to choose whichever distribution they require for their project.
This does have the maintenance overhead of providing components for each object we support, and for each JS framework that we support, but would allow Captain to be more easily integrated into those projects.
Beta Was this translation helpful? Give feedback.
All reactions