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
Greetings. Was hoping this work would allow me to have Prettier formatting in my Vue's <script setup> tags. If that is what this service is not supposed to help with, apologies.
I have the volar-service-prettier package installed and my volar.config.js file appears like so:
However, I get this output in my VS Code and my package.json type is set to module.
[Warn - 10:31:39 PM] Error [ERR_REQUIRE_ESM]: require() of ES Module /workspaces/project/volar.config.js from /home/vscode/.vscode-server/extensions/vue.volar-1.8.8/dist/server.js not supported.
Instead change the require of volar.config.js in /home/vscode/.vscode-server/extensions/vue.volar-1.8.8/dist/server.js to a dynamic import() which is available in all CommonJS modules.
The text was updated successfully, but these errors were encountered:
Greetings. Was hoping this work would allow me to have Prettier formatting in my Vue's
<script setup>
tags. If that is what this service is not supposed to help with, apologies.I have the
volar-service-prettier
package installed and myvolar.config.js
file appears like so:However, I get this output in my VS Code and my package.json
type
is set tomodule
.The text was updated successfully, but these errors were encountered: