We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v7pre1
import { reactRouter } from "@react-router/dev/vite"; import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin"; import { defineConfig } from "vite"; export default defineConfig(() => { return { plugins: [reactRouter(), vanillaExtractPlugin()], }; });
npm add @vanilla-extract/css @vanilla-extract/vite-plugin
@vanilla-extract/vite-plugin
No error
Error: The React Router Vite plugin requires the use of a Vite config file
The text was updated successfully, but these errors were encountered:
This is the same issue as: vanilla-extract-css/vanilla-extract#1311
Except that now, the Plugin is named react-router instead of remix.
react-router
remix
Sorry, something went wrong.
I created a PR to address this issue: vanilla-extract-css/vanilla-extract#1492
No branches or pull requests
What version of React Router are you using?
v7pre1
Steps to Reproduce
npm add @vanilla-extract/css @vanilla-extract/vite-plugin
@vanilla-extract/vite-plugin
to configExpected Behavior
No error
Actual Behavior
Error: The React Router Vite plugin requires the use of a Vite config file
The text was updated successfully, but these errors were encountered: