wallabyjs / quokka

Repository for Quokka.js questions and issues
https://quokkajs.com
1.17k stars 31 forks source link

Quokka can't detect nuxt auto imports #902

Closed antharuu closed 11 months ago

antharuu commented 11 months ago

Issue description or question

Quokka can't detect nuxt auto imports

Sample code

const config = useRuntimeConfig()

Quokka.js Console Output

useRuntimeConfig is not defined

Code editor version

Webstorm 23.2.4

OS name and version

Windows

mburnell commented 11 months ago

Quokka doesn't support this kind of automatically-imported function (though you may be able to import it manually). You can read more about how Quokka runs your code here: https://quokkajs.com/docs/how-does-it-work.html.