@baleada/source-transform-files-to-index
v0.2.4
Published
Transform function, compatible with Baleada Source Transform, that indexes files so they can be imported more easily as ES modules.
Downloads
2
Readme
@baleada/source-transform-files-to-routes
Transform files and directory structures into SPA routes for React Router or Vue Router. In other words, imitate the functionality of the Nuxt.js, Next.js, and Sapper "pages" directory in your app.
Designed to be used with Baleada Source Transform.
See the docs for more guidance.