Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

create a front-end template for svelte #7250

Open
luu-alex opened this issue Sep 10, 2024 · 3 comments
Open

create a front-end template for svelte #7250

luu-alex opened this issue Sep 10, 2024 · 3 comments
Labels
4.x 4.0 related Bug Addressing a bug Feature Request P1 High severity bugs

Comments

@luu-alex
Copy link
Contributor

This feature is similar to the other issues of supporting front-end framesworks, a PR for this should be creating a front-end project using svelte + web3.js. We have had an issue with users experiences issues with svelte so it may include debugging as well.

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. [First step]
  2. [Second step]
  3. [and so on...]

Logs

Environment

@luu-alex luu-alex added Bug Addressing a bug Feature Request 4.x 4.0 related labels Sep 10, 2024
@luu-alex
Copy link
Contributor Author

related to #7133

@danforbes
Copy link
Contributor

I created a Svelte project with npm init svelte and updated it to use Web3.js to display the current block number. I did not have any problems with circular dependencies as reported in #7133. In order to get things working, I had to use the ssr page option to disable server-side rendering since the browser-only global window object is needed to instantiate Web3.js with an injected provider.

@luu-alex
Copy link
Contributor Author

@danforbes glad to hear it, I closed the other issue out

@mconnelly8 mconnelly8 added the P1 High severity bugs label Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4.x 4.0 related Bug Addressing a bug Feature Request P1 High severity bugs
Projects
None yet
Development

No branches or pull requests

3 participants