Writing a module, how to import template into composable?
I'm trying my hand at writing a module and so far so good.
My question now is, how can I import the written template
- It fetches an OpenAPI schema
- Builds it using
openapi-typescript - Writes it to the project build directory via
@nuxt/kitaddTemplate - And adds a composable via
@nuxt/kitaddImports
setup function is thisMy question now is, how can I import the written template
api.d.ts into my added composable? I assume this should be possible since this is all done a build time?