Add support for json/data imports from node_modules #3576
equinusocio
started this conversation in
Feature Requests
Replies: 0 comments
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, at Lualtek we’re considering migrating our design system documentation from Nextra to Mintlify. However, after some spike tasks, we discovered it’s not possible to import from node_modules. While we understand this decision, we’d like to know if it’s possible to allow data structure imports like JSON or other static files.
Our design system is built from multiple packages and colour variables and themes are shipped as JSON. Currently, the only solution we’ve found to write documentation is a build script that pulls these data files into local files and imports them as snippets. However, this isn’t particularly elegant.
Beta Was this translation helpful? Give feedback.
All reactions