ballingt
ballingt3y ago

Convex without a bundler

Yeah! You need some way to write JavaScript, but sites like Wix usually do allow this.
1 Reply
ballingt
ballingtOP3y ago
Code like this can be embedded directly in HTML
<script src="https://unpkg.com/convex@0.1.8/dist/index.bundle.js"></script>
<script>
console.log('convex:',convex);
</script>
<script src="https://unpkg.com/convex@0.1.8/dist/index.bundle.js"></script>
<script>
console.log('convex:',convex);
</script>
Then you'd write code to modify the HTML of the page based on the query results.

Did you find this page helpful?