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

Embed .viser files completely locally #337

Open
Davidyao99 opened this issue Nov 18, 2024 · 1 comment
Open

Embed .viser files completely locally #337

Davidyao99 opened this issue Nov 18, 2024 · 1 comment

Comments

@Davidyao99
Copy link

I have been able to generate the .viser file and embed it successfully in a HTML webpage by running the client build on github pages. I was wondering is it possible for this to work completely locally? Where the HTML iframe references a local build directory which takes in a local .viser file. I tried changing paths to local but the local build directory does not seem to work anymore. Any help or guidance will be much appreciated! Thank you!

@brentyi
Copy link
Collaborator

brentyi commented Nov 22, 2024

Hi @Davidyao99! Have you tried launching a local HTTP server? For example, with the commands in #326 (comment)

This should behave the same as any other static HTML/javascript-based web app.

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

2 participants