Refactoring _meta.json to _meta.js #1721
-
Hi! Nextra's documentation prefers _meta.json over _meta.js: https://nextra.site/docs/guide/organize-files#_metajson But I would like to use JS over JSON in order to use comments: As a non-coder I did not figure out how to validly refactor the following JSON code to JS. ChatGPT did not help me either with this. Would you please be so kind and show me how the JSON config below is converted to valid JS config. Thank you very much!
|
Beta Was this translation helpful? Give feedback.
Answered by
dimaMachina
Apr 3, 2023
Replies: 1 comment 2 replies
-
export an object from your |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dimaMachina
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export an object from your
_meta.js
as default export