What's the "standard" for a types template + import? #3348
Unanswered
adriangalilea
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I don't think there's anything wrong with this. If you want to import a package which resides the working dir itself, then I think you have to define a module as you did. What about the example are you hesitant about? |
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
-
I was skimming through the docs and went back and forth with claude and I could not find this apparently simple answer.
The way I made it work was:
main.cue
cue.mod/module.cue
types/person.cue
Is there a simpler/better way to organise it?
Do I need the cue.mod/module.cue for this?
Beta Was this translation helpful? Give feedback.
All reactions