-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
<script setup lang="js">
compiles to a different result with <script setup>
#7388
Labels
Comments
9 tasks
sapphi-red
changed the title
Dec 21, 2022
<script setup lang="js">
compiles to different result with <script setup>
<script setup lang="js">
compiles to a different result with <script setup>
sxzz
added a commit
that referenced
this issue
Dec 22, 2022
sxzz
added a commit
that referenced
this issue
Jan 26, 2023
sxzz
added a commit
that referenced
this issue
Feb 1, 2023
sxzz
added a commit
that referenced
this issue
Feb 4, 2023
sxzz
added a commit
that referenced
this issue
Mar 27, 2023
sxzz
added a commit
that referenced
this issue
Mar 28, 2023
9 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Vue version
3.2.45
Link to minimal reproduction
https://stackblitz.com/edit/node-iqu5zb?file=index.js
Steps to reproduce
npm i
(automatically runs)npm start
(automatically runs)What is expected?
is output. (This output is the result without
lang="js"
)What is actually happening?
is output.
System Info
No response
Any additional comments?
I found this while digging around vitejs/vite-plugin-vue#17.
If
<template lang="html">
should work (#6929), I think<script setup lang="js">
should also work.The text was updated successfully, but these errors were encountered: