0.0.1 • Published 2 months ago

centro-admin-ui v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

The Medusa Admin App. Included with the @centro/admin plugin. You shouldn't install this package separately.

Local development

Unit Test

To test the local UI changes, without having to worry about symlinks, you can run the Dev server, from the root of the project, using npm run dev

e2e Test

To test the local UI changes and work with Admin from the main backend project, follow these steps:

  • From the root of this project (if this is the first time), run npm link
  • If this is the first time, navigate to @centro/admin project, and run npm link @centro/admin-ui
  • Run npm run build
  • Make sure you have followed the README of the @centro/admin repo before nex step
  • Go to the backend project:
    • Run npm link @centro/admin if this is the first setup
    • Run npm run dev to start the backend, pointing to @centro/admin symlink, which in turn, points to this symlink