Skip to content
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

How to use this in a Vue project? #6

Open
ghost opened this issue Feb 11, 2020 · 3 comments
Open

How to use this in a Vue project? #6

ghost opened this issue Feb 11, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 11, 2020

It seems React is a dependency for demoboard.

What parts would I have to edit for this to work on Vue?

@jamesknelson
Copy link
Collaborator

Unfortunately this is currently pretty tightly coupled with React. In particular, the state management is based in a bunch of React hooks. These would need to be reimplement as plain JavaScript before anything else.

I'd like to eventually rework this, but for the moment, the easiest thing would just be to embed this as a React component within the existing Vue app.

@ghost
Copy link
Author

ghost commented Feb 12, 2020

Yeah, that works. Thanks!

Also, I'm not too familiar with styled components. For the current project I'm working on styled components are causing lots of bugs.

Are styled components fully baked into demoboard or would it be possible to replace them with a more traditional stylesheet?

Sorry about all the questions. Really cool program btw!

@jamesknelson
Copy link
Collaborator

The styles are all separate, as part of the demoboard-ui package. You should just be able to swap that one out with your own package to theme it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant