-
### Describe the bug
Hoisted var declaration will cause unexpected simplification with different target
### Input code
```typescript
(function () {
var first = state();
var on = true;
var obj…
-
I've been reading the documentation over and over, and there's still something I don't get. I simply followed the Vue3 Framework section of the plugin doc. When building for prod, this is what I get:
…
-
in `@Compoent`, schemas can currently only use the following values:
- `CUSTOM_ELEMENTS_SCHEMA` -> allow any `custom-tag` with any property,
- `NO_ERRORS_SCHEMA` -> allow any tag and any property
We …
-
Just spitballing ideas here - but if there were a way to;
1. Use this with volt functional style Livewire
2. A vite plugin to extract ts/js from a blade file itself
Then you could conceivably m…
-
To enable JSX syntax in TypeScript you need two steps:
- add `"jsx": "react"` to `"compilerOptions"` in `tsconfig.json`
- use `.tsx` extension
This is quite troublesome if you want to reuse certain g…
-
## 混入
混入 (mixins) 是一种分发 Vue 组件中可复用功能的非常灵活的方式。混入对象可以包含任意组件选项。当组件使用混入对象时,所有混入对象的选项将被混入该组件本身的选项。
```
// 定义一个混入对象
var myMixin = {
created: function () {
this.hello()
},
methods: {
h…
-
I am attempting to import .svg files for a storybook project and am running into an module import error. I have tried a few alternative solutions but have made no progress. It's throwing an error spec…
-
### Related plugins
- [X] [plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue)
- [ ] [plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/package…
-
It would be nice to be able to spread bindings in lit-html. One would be able to spread properties, attributes, and event listeners.
Syntax could look something like this:
```javascript
const spr…
-