issues Search Results · repo:unplugin/unplugin-vue2-script-setup language:TypeScript
Filter by
115 results
(108 ms)115 results
inunplugin/unplugin-vue2-script-setup (press backspace or delete to remove)Describe the bug
正常不换行能匹配 img width= 702 alt= 测试正则不换行 src=
https://github.com/antfu/unplugin-vue2-script-setup/assets/15664576/44f028a5-3acc-46b1-8103-4b88e6750004
换行了就匹配不到 img width= 680 alt= 测试正则换行 ...
zyqq
- Opened on Jun 12, 2023
- #154
Describe the bug
如下代码,wkv h5 和 wkv not h5 两条日志都会打印出来。
script setup
// #ifdef H5
console.log( wkv h5 )
// #endif
// #ifndef H5
console.log( wkv not h5 )
// #endif
/script
如下代码,运行报错 Identifier ...
shichaohui
- Opened on May 9, 2023
- #152
Unfortunately, I can only supply the error and package.json. Our software involves handling private information so the
application cannot be replicated, my apologies.
{
name : ,
version : 1.0.0 ...
wesley3295
- 1
- Opened on Dec 1, 2022
- #151
Describe the bug
只要使用了setup ,在 template 中 使用的数据会提示 类型“{}”上不存在属性“XXX”。ts(2339) image
Reproduction
script lang= ts export default { data() { return { a: 11111, }; }, }; /script script setup lang= ts import ...
642661520
- 1
- Opened on Sep 19, 2022
- #150
Describe the bug
Here is an example. MyComponent has already been registered globally. If I import the type of this component, the
component will be registered locally by plugin, but MyComponent is actually ...
kingyue737
- 3
- Opened on Aug 2, 2022
- #149
Clear and concise description of the problem
uniapp小程序,引用组件,不会在当前页面的.json中引用当前组件,这个有什么解决方案吗-
Suggested solution
-
Alternative
No response
Additional context
No response
Validations
- [X] Follow ...
enhancement
weiminghaoo
- 3
- Opened on Jul 30, 2022
- #148
Describe the bug
vite 3.0 启动报错[vite] Internal server error: $ can only be used as the initializer of a variable declaration. vite :
v3.0.3 , unplugin-vue2-script-setup : ^0.11.3 use: plugins: [ ScriptSetup({ ...
TTcom
- 1
- Opened on Jul 27, 2022
- #147
So with Vue 2.7.0, Vue now includes the Composition API and script setup support.
What it doesn t include, however, is support for reactivityTransform.
At the moment, using 2.7 with this plugin breaks ...
craigrileyuk
- 3
- Opened on Jul 3, 2022
- #144
// router.ts
import Home from @/view/home/Index.vue ;
// view/home/Index.vue
script setup lang= ts
import { ref } from @vue/composition-api ;
let count = ref(0);
console.log( ready );
const addCount ...
syymo
- 2
- Opened on Jun 23, 2022
- #143
自己 搭建环境 和 使用 https://github.com/antfu/unplugin-vue2-script-setup/tree/main/playground 都会出现同样问题
image
syymo
- 5
- Opened on Jun 22, 2022
- #142

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.