You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the same filename twice in the project leads to this
// .nuxt/remote-handler.tsimport*astodofrom'.../feature-A/todo.server'import*astodofrom'.../feature-B/todo.server'exporttypeRemoteFunction={todo: typeoftodotodo: typeoftodo}exportdefaultcreateRemoteFnHandler({
todo,
todo
})
Which breaks the module
The text was updated successfully, but these errors were encountered:
The path would be relative the source directory: nuxt.options.srcDir
A double underscore should be enough to avoid accidental duplicates, though it could be a configuration option
Cons of this approach:
createClient becomes more verbose, specially with deeply nested files
Deeply nested files could also make really long urls
Exposes project structure to the frontend (probably not an issue)
Using the same filename twice in the project leads to this
Which breaks the module
The text was updated successfully, but these errors were encountered: