Replies: 1 comment
-
Solution: I find the solution so I am closing it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created an api using create-inventree-plugin
The plugin is outside src
and located at folder plugins/PointOfSale
I installed it in installable mode using pip install -e . and ran it using npm run dev
I also ran inventree server using invoke dev.server after adding below in config.yaml inside dev
plugin_dev:
slug: 'point-of-sale' # Replace with your plugin slug
host: "http://localhost:5174"
but when I try
http://localhost:8000/plugin/point-of-sale/example/
I get redirected
how to access this api without getting redirected
I didn't write any custom code
It was automatically generated from create-inventree-plugin
class PointofSale(SettingsMixin, UrlsMixin, UserInterfaceMixin, InvenTreePlugin):
above are the mixins I chose
Beta Was this translation helpful? Give feedback.
All reactions