Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Support custom vue content by plugins to be sent to the client #50

Closed
vainamov opened this issue Mar 6, 2019 · 2 comments
Closed

Support custom vue content by plugins to be sent to the client #50

vainamov opened this issue Mar 6, 2019 · 2 comments

Comments

@vainamov
Copy link
Contributor

vainamov commented Mar 6, 2019

No description provided.

@vainamov vainamov added Station: Proposed Unlimited Tickets Type: Feature This is a new feature that should be added. Networking Communication Plugins Client labels Mar 6, 2019
@SniperGER
Copy link

SniperGER commented Mar 8, 2019

Let's start by adding a basic plugin folder structure:

.
└── plugins
    └── ml.festival.example
        └── resources
        │   └── test.txt
        └── plugin.dll

(Depicted file structure may not represent actual file structure)

plugin.dll basically loads test.txt as a byte array using File.readAllBytes(String path), hands it over to the WebSocket, which then sends it to the client. Since the client is based on node, it should be possible to convert the byte array back to text.

Next would be handling .vue-Files, which could work with either new Vue() or somehow using render(h)

@SniperGER
Copy link

Client is unable to correctly initialize Vue-based plugin resources.

Current idea is to hardcode plugins (private messages, surveys)

@SniperGER SniperGER added Station: Impossible and removed Station: Proposed Unlimited Tickets labels Mar 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants