create a front-end template for svelte
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
- [First step]
- [Second step]
- [and so on...]
Logs
Environment
related to #7133
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.
@danforbes glad to hear it, I closed the other issue out