Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Support for Vite 2.3 #135

@Rkallenkoot

Description

@Rkallenkoot

Broken since vite 2.3, but seems to be working with vite 2.2

ERROR The request url "/home/user/Code/nuxtsite/node_modules/.vite/vue.js" is outside of vite dev server root "/home/user/Code/nuxtsite/.nuxt".
For security concerns, accessing files outside of workspace root is restricted since Vite v2.3.x.
Refer to docs https://vitejs.dev/config/#server-fsserveroot for configurations and more details.

Versions

nuxt-vite: 0.0.37
nuxt: 2.15.5
vite: 2.3

Reproduction

Basic Nuxt app with versions above, should throw errors on nuxt dev

Description

Adding "vite": "~2.2.0" in package.json will temporarily fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions