-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
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
2.0.0-beta.1 -> Loading PostCSS Plugin failed #1287
Comments
Found a solution in module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {}
},
} using this instead works: module.exports = {
plugins: [
require("tailwindcss"),
require("autoprefixer")
],
} |
fix #1287 Co-authored-by: Evan You <yyx990803@gmail.com>
fix vitejs#1287 Co-authored-by: Evan You <yyx990803@gmail.com>
my solutions as below: npm init @vitejs/app and after exec commands: I got the error: and I create a file module.exports = {
autoprefixer: {}
} |
Tried the javascript vue3 vite starter vite project, below works
But with the same config, the Typescript Vue3 start vite project throws this error
|
Describe the bug
Same error as in #1267, opening this as indicated by the discussion in that issue.
Reproduction
npm init @vitejs/app example-project --template vue-ts
.npm run dev
System Info
vite
version: 2.0.0-beta.1vue
version (fromyarn.lock
orpackage-lock.json
): 3.0.5@vue/compiler-sfc
version: 3.0.5Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: