-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add UI templates to init #119
Comments
polkadot.js duplication issues have been resolved with the switch to ESM in v3, and this is now ready to be considered again. |
With the recent shift from useInk to useInkathon, the approach to setting up a Swanky project with integrated frontend and smart contract development needs to adapt. The idea is still to spin up a "fullstack
And optional but recommend additional tasks:
Alternative options considered:
@vsofiya Let me know how we should prioritize this scope. |
Sound great! |
The term "monorepo" was mistakenly used; I meant to refer to the project structure generated by the
|
Ah, great, thanks for clarification. |
Overview (What and Why)
To make swanky all-around tool, the frontend part should also be taken into consideration.
For the contract template we provide, there should also be UI templates ready to add.
How
Init command and new contract command should offer to add the UI templates as well.
Optionally, there should be a choice of fronted frameworks (react/vue/svelte), but React with useink should be enough for the first iteration.
Definition of Done
Open Issues and Blockers
Work was started on this, but since adding UI project (a dapp) introduces yet another layer of dependencies on polkadot.js, the compatibility issues had to be addressed first.
To address this, focus was shifted to the swanky-dev-container and swanky and swanky-node updates to newer versions of ink! and weights V2.
Since more urgent/useful features were suggested in the meantime, this was given a lower prio.
The text was updated successfully, but these errors were encountered: