feat: sigma.client

This commit is contained in:
Pooya Parsa 2020-11-20 14:46:55 +01:00
parent a7d158798c
commit abf65f2176

View File

@ -33,10 +33,10 @@ export default function (nuxt, moduleContainer) {
nuxt.server = createNuxt2DevServer(sigmaDevContext)
}
// $fetch support in client
// Sigma client plugin
moduleContainer.addPlugin({
fileName: 'fetch.client.js',
src: resolve(sigmaContext._internal.runtimeDir, 'app/fetch.client.js')
fileName: 'sigma.client.js',
src: resolve(sigmaContext._internal.runtimeDir, 'app/sigma.client.js')
})
// serverMiddleware bridge