Can't use macro in adonisjs v6 #4512
Unanswered
adnanerlansyah403
asked this question in
Help
Replies: 1 comment 5 replies
-
Gave it a try and everything seems to be working fine for me. Maybe instead of importing the |
Beta Was this translation helpful? Give feedback.
5 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, can anyone help me out how to use macro in adonisjs v6. I've been following from this documentation:
https://docs.adonisjs.com/guides/extend-adonisjs#macros-and-getters
Everything is ok until I hit the api or endpoint and then I got such as response like this:
And this is my code on the extensions and app_provider files.
src/extensions.js
providers/app_provider.ts
Beta Was this translation helpful? Give feedback.
All reactions