nuxt / vite

⚡ Vite Experience with Nuxt 2

Home Page:https://vite.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module '~/plugins/graphql/client'

stephenjason89 opened this issue · comments

Versions

nuxt-vite: 0.0.36
nuxt: 2.15.3

Reproduction

    apollo: {
        clientConfigs: {
            default: '~/plugins/graphql/client',
        },
        defaultOptions: {
            $watchQuery: { errorPolicy: 'all' },
            $mutate: { errorPolicy: 'all' },
            $query: { errorPolicy: 'all' },
        },
    },
    ```
### Description

<!-- A detailed explanation of issue -->
Custom client config can't be found

Hello sir @danielroe may I know the solution to this?
Thank you so much