andfanilo / streamlit-component-template-vue Goto Github PK
View Code? Open in Web Editor NEWVue 2/3 template for Streamlit Components
License: MIT License
Vue 2/3 template for Streamlit Components
License: MIT License
streamlit-component-lib now also sends a theme
prop one can use in the component
Control slot width with passed width argument
Hey,
thank you for putting this together. I had some difficulties get it running with the latest version of vue. Upgrad Typescript to something over 4.3.5 solved the issue.
With kind regards.
[duplicate of this]
In the basic example
After clicking out of color picker, this happens:
SecurityError: Blocked a frame with origin "https://apps.streamlitusercontent.com" from accessing a cross-origin frame.
at t.value (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:3546529)
at t.value (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:3546304)
at Al (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2491558)
at Ml (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2493361)
at Cs (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2505454)
at t.unstable_runWithPriority (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2526071)
at jn (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2448429)
at xs (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2503412)
at As (https://apps.streamlitusercontent.com/andfanilo/streamlit-drawable-canvas-demo/master/app.py/+/static/js/5.d3fb5f21.chunk.js:2:2499498)
Also happens in other apps, eg here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.