Composition-api: help: defineNuxtConfig not found

Created on 12 Feb 2021  路  2Comments  路  Source: nuxt-community/composition-api

I'm not sure if the docs are wrong or if it's me.
I wanted to create nuxt.config.ts file like was mentioned in https://composition-api.nuxtjs.org/typings/definitionHelpers - unfortunately I'm getting this error'Module '"./node_modules/@nuxtjs/composition-api/lib"' has no exported member 'defineNuxtConfig''

I've tried looking into .nuxtcomposition-apiindex.js and I can't find export of 'defineNuxtConfig ' - is that something that was removed recently and docs are inconsistent with changes? Or it's quite the opposite and this feature will be added in the future?

Thanks!

Most helpful comment

@blazejwcislo It's the opposite - it's a new feature that will be present in the next release of the module. Sorry for the inconvenience!

All 2 comments

@blazejwcislo It's the opposite - it's a new feature that will be present in the next release of the module. Sorry for the inconvenience!

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

P4sca1 picture P4sca1  路  4Comments

lennartzellmer picture lennartzellmer  路  3Comments

Quineone picture Quineone  路  5Comments

JanusSpark picture JanusSpark  路  5Comments

namadnuno picture namadnuno  路  4Comments