volar
babel-plugin-jsx
Our great sponsors
volar | babel-plugin-jsx | |
---|---|---|
32 | 6 | |
4,244 | 1,686 | |
- | 1.6% | |
9.9 | 8.3 | |
about 1 year ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
volar
- Where are the Volar docs?
- Vetur working but not Volar in VS Code
- Let's hope this becomes real: Volar is trying to implement the generic component (generic props/emits) proposal
-
Messed up colors in VScode
Thanks man! Had the same issue and the plugin is indeed causing it. They just released an update (1.0.1) with a fix: https://github.com/johnsoncodehk/volar/blob/master/CHANGELOG.md
-
Vitify Admin | Vite + Vuetify 2, Opinionated Admin Starter Template
🦾 Full TypeScript Support and intellisense for Vuetify 2 components, powered by Volar
-
State of JSX in JavaScript Frameworks
Worth mentioning, Volar, the Vue extension for VSCode, implements type checking as JSX just like Svelte.
- VS code isn't highlighting my vue code correctly, any tips? / settings.json -> "[vue]": { "editor.defaultFormatter": "octref.vetur" }
-
Attempt to call field 'setup' (a nil value) when adding volar configuration.
Hi, I used this config from Volar's GitHub, but whenever I try to do `so %` it gives me an arror
-
Volar now synchronizes variable highlighting between script and template
FYI it’s kind of broken at the moment, i had to downgrade. GitHub Issue
-
6 VSCode Extensions Necessary for Vue3 Development🔥
With the release of the official version of Vue3, the Vue team officially recommends the Volar extension to replace the Vetur extension, which not only supports Vue3 language highlighting, syntax detection, Also supports TypeScript and type checking based on vue-tsc.
babel-plugin-jsx
-
Can you give me an idea on how to implement this in vue?
It's also possible to use JSX, as OP's example, using https://github.com/vuejs/babel-plugin-jsx
-
State of JSX in JavaScript Frameworks
Even though templates (or let’s say, SFC) is the dominant way to author Vue components, decent JSX support is also provided for both Vue 2 and Vue 3.
-
The self-fulfilling prophecy of React
I agree - I think JSX does what templating languages have been trying to do for years.
That being said, solid is hardly the only one out there competing that can use JSX:
- https://github.com/vuejs/babel-plugin-jsx
- https://mithril.js.org/jsx.html
- https://preactjs.com/guide/v10/getting-started#setting-up-js...
-
Have been using Vue.js for a while but decided to learn React because of how popular and demanded it is. Not trying to bash React but I can't get over the funkyness of JSX and a couple of other aspects. Everything seems more complex and cumbersome than how it's done in Vue.js. Am I just biased?
Apologies, my link above was the incorrect bookmark... that was for Vue 2. Here is the correct link for vue3: https://github.com/vuejs/jsx-next
-
Vue with TSX - the perfect duo!?
In a nutshell, you once again have to add jsx: “preserve” to your tsconfig.json and do some changes in your Babel config (it’s a plugin this time):
-
Has anyone used JSX with Vue 3?
This exists and works fine - I am using TSX and getting type checking around props etc etc, all the things you'd expect.
What are some alternatives?
vetur - Vue tooling for VS Code.
vite - Next generation frontend tooling. It's fast!
lsp-volar - Language support for Vue3
Immer - Create the next immutable state by mutating the current one
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
vue-ts-eslint-template
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
jsx-vue2 - monorepo for Babel / Vue JSX related packages
rfcs - RFCs for substantial changes / feature additions to Vue core
reactivue - 🙊 Use Vue Composition API in React components