mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
add basic instruction how to create a new app
This commit is contained in:
parent
5dda11eb87
commit
82b9b17dda
|
@ -23,6 +23,14 @@
|
|||
│ └── index.vue # List all avaiable apps
|
||||
└── ...
|
||||
|
||||
## Creating new App for Mainnet
|
||||
|
||||
- Create a new file `my-app.vue` in `pages/mainnet` folder, or duplicat existing protocol, ex: `pages/mainnet/aave-v2.vue`
|
||||
- Register the new app in `index.vue` in `appsPerNetwork` array.
|
||||
- Create new protocol `useMyAppPosition.ts` in `composables/protocols` folder, check `composables/protocols/useAaveV2Position.ts` for more details.
|
||||
- Create sidebars for the new app in `components/sidebar/context/my-app` folder, ex: `SidebarMyAppSupply.vue`, check `components/sidebar/context/aave-v2` for more details.
|
||||
- Register the sidebars in `composables/useSidebar.ts`, check the `sidebars` array for more details.
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue
Block a user