wallabyjs / quokka

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

Quokka can't detect nuxt auto imports #902

Closed antharuu closed 1 year ago

antharuu commented 1 year 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 1 year 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.