#How to do a pull request (PR) with an example

1 messages · Page 1 of 1 (latest)

slate crane
#

Heyhey,

I'm doing the 7 GUIs with Xstate and Vue and wanna contribute them to the official examples: https://github.com/statelyai/xstate/tree/main/examples.

Just wanna make sure I know how to do this: Do I just copy my whole Vue-project folder into there, boom, that's it?

If so, do any of you see a simpler way than downloading both projects locally and moving the folder? I'd love to stay in the browser.

Best,
Tom

dim quail
#

The steps would be:

cd ./examples
pnpm create vite@latest 7guis-example-vue --template vue-ts
cd 7guis-example-vue
pnpm i xstate @xstate/vue
#

And then you can copy-paste your code into there

slate crane
#

Thank You, David!

I missed that readme. Will link to it in contributing.md and do a little PR to catch people like me in the future.