added and updated documentation
This commit is contained in:
parent
bfecd42e4d
commit
5df08a0b28
2 changed files with 4 additions and 19 deletions
17
README.md
17
README.md
|
@ -1,20 +1,7 @@
|
||||||
# foundation-vue
|
# Syng web client
|
||||||
|
|
||||||
This template should help get you started developing with Vue 3 in Vite.
|
This is the web client for [Syng](https://github.com/christofsteel/syng)
|
||||||
|
|
||||||
## Recommended IDE Setup
|
|
||||||
|
|
||||||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
||||||
|
|
||||||
## Customize configuration
|
|
||||||
|
|
||||||
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
||||||
|
|
||||||
## Project Setup
|
|
||||||
|
|
||||||
```sh
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
### Compile and Hot-Reload for Development
|
### Compile and Hot-Reload for Development
|
||||||
|
|
||||||
|
|
|
@ -264,10 +264,8 @@ function joinRoom() {
|
||||||
} else {
|
} else {
|
||||||
state.value.join_msg = "<strong>No such room!</strong> <br/>" +
|
state.value.join_msg = "<strong>No such room!</strong> <br/>" +
|
||||||
"Please use the correct room code your organizer provided you.<br/>" +
|
"Please use the correct room code your organizer provided you.<br/>" +
|
||||||
"To host your own syng powered karaoke parties, please download and " +
|
"To host your own syng powered karaoke events, please download and " +
|
||||||
"install <a href='https://git.k-fortytwo.de/christofsteel/syng2.git' " +
|
"install <a href='https://github.com/christofsteel/syng' target='_blank'>Syng</a>"
|
||||||
"target='_blank'>Syng</a> and run it with <pre>syng-client " +
|
|
||||||
state.value.server + "</pre>"
|
|
||||||
if(state.value.joined) {
|
if(state.value.joined) {
|
||||||
state.socket.disconnect()
|
state.socket.disconnect()
|
||||||
setTimeout(() => connect(), 2000)
|
setTimeout(() => connect(), 2000)
|
||||||
|
|
Loading…
Add table
Reference in a new issue