Replies: 1 comment 1 reply
-
Hi, Attempting to compile ui extensions in this monorepo will not work. The reason is due to the way Lerna uses symlinks for dependencies, and the ui-devkit makes certain assumptions about file paths that are not compatible with the layout of this repo. Try creating a new project using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'd appreciate it if anyone could help me. I have pulled the latest version of vendure (1.7.1) and I am attempting to create and use a simple Angular admin api extension. I'm not overly familiar with Angular, but just want to get a basic example working.
I have followed the tutorial, and I have a ui-extensions directory at the same level as the packages directory:
The ui-extensions directory has the greeter.component.ts and greeter.module.ts taken from: https://www.vendure.io/docs/plugins/extending-the-admin-ui/using-angular/
My dev-config.ts has the following entry:
Now when I do a
in the dev-server directory I get the following:
So then I have tried installing the Angular tooling (in the dev-sever directory):
And now I get:
I have also tried installing the latest cli instead:
but then I get:
I'm not sure what to try next and would really appreciate any help.
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions