Comments (3)
please provide reproduction repo
https://antfu.me/posts/why-reproductions-are-required-zh
from vue-macros.
reproduction https://github.com/nextjm/unplugin-vue-define-options-esbuild-demo @sxzz
from vue-macros.
@NEXTjm Please upgrade your esbuild to the latest version.
By the way, you still need esbuild-plugin-transform, since there's no transform stage in esbuild evanw/esbuild#1902
import { Transform } from 'esbuild-plugin-transform'
// ...
plugins: [
Transform({
plugins: [
DefineOptions(),
vue({
sourceMap: false,
style: {
preprocessLang: 'less',
preprocessOptions: {
less: {
javascriptEnabled: true,
additionalData: `@import '${process.cwd()}/packages/styles/index.less'`,
},
},
},
}),
],
}),
],
from vue-macros.
Related Issues (20)
- defineEmits use externally exported types error
- jsxDirective `v-slot` and `defineSlots` in Vue 2 are incompatible
- Property 'name' is missing in type 'Plugin<any>[]' but required in type 'Plugin<any>' HOT 2
- Failed to resolve import "@vueuse/core" from "..\..\..\..\vue-macros\define-models\use-vmodel". Does the file exist? HOT 2
- warning: unplugin-vue-better-define SyntaxError: Cannot resolve TS type: X (Nuxt + vue-macros + radix-vue) HOT 6
- vite] Internal server error: At least one <template> or <script> is required in a single file component. HOT 2
- setupSFC error: Illegal tag name. Use '<' to print '<'. HOT 2
- Support conditional properties HOT 4
- Reactivity Transform with Discriminated unions causes type inconsistencies between <script> and<template>
- unplugin-vue-macros 引入的 unplugin-vue-define-options/vue2-macros-global 报错 HOT 1
- 使用 defineModels 的时候应当和直接声明保持一致,是否能详细说明一下 passive 的意义
- [api] support `processDefineProps` to process runtime props HOT 1
- [Vue warn]: Component emitted event "update:rowData" but it is neither declared in the emits option nor as an "onUpdate:rowData" prop. HOT 1
- defineModel触发事件问题 HOT 1
- shortBind already support in v3.4 HOT 1
- withDefaults' first argument must be a defineProps call. HOT 4
- jQuery type conflict HOT 8
- defineSlots: use Short Syntax in vscode(Volar2+), template slot type is never. HOT 4
- Are there any plans to support rspack? HOT 10
- Is it possible to provide macros for vue2.7 that are only aligned to vue3 via Vue Macros
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-macros.