We're working on our new design system. Please get in touch if you are part of VTEX product team and working on an admin app. If you are external to VTEX you can still use this repo.
An example admin app that adds a menu button to the admin sidebar and a navigation via parameter example.
-
Admins always declare routes in
/admin/app/<route>
-
Declare the
admin
builder in your manifest -
When installed, the user navigates to
/admin/<route>
, but your app runs in an iframe that points to/admin/app/<route>
. -
You can develop directly in the
/admin/app
route for convenience, but don't forget to test it inside the iframe. :)
-
Clone this repo
-
yarn --cwd react/
for code completion -
vtex link
-
Navigate to
workspace--account.myvtex.com/admin/app/example