volar
twin.macro
volar | twin.macro | |
---|---|---|
32 | 57 | |
4,244 | 7,805 | |
- | - | |
9.9 | 5.9 | |
about 1 year ago | 27 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.
twin.macro
-
Tailwindcss in Styled-Components
Twin Macro Github Repo. This is a great resource to help you pick up Twin’s syntax, learn more about the package, and keep up to date with the latest releases.
-
CSS Style Guide for Web Dev?
Personally I like twin.macro the most. It’s similar to the above but based on Tailwind.
-
Cool Tailwindcss Tools For Everyone
twin.macro is a library that allows you to use these styles in your JavaScript code. This library works exactly like styled-components.
- How do you css?
-
Fixing Class Composition in Tailwind CSS
One of the more promising alternatives is twin.macro - a Babel macro that processes Tailwind classes to generate JS objects understandable by various CSS-in-JS libraries. The developer experience (DX) of using it is amazing as you not only get all of Tailwind’s features without much change to your code, but you also get much more flexibility - all that on top of the traditional benefits of CSS-in-JS. Here’s an example code:
-
Setup Nextjs Tailwind CSS Styled Components with TypeScript
twin.macro
-
What unpopular webdev opinions do you have?
If you use Tailwind with React a lot, and are wanting support for Styled Components, give Twin Macro a look. They're close to finishing support for TW v3 in their Releases section :)
- Are utility classes horrible design or am I dumb?
- What's the proper way to write Tailwind with React?
-
Stailwc: an swc plugin for transpiling tailwind directives at compile time
The blocker for us using it is our use of an excellent library called twin.macro which is built against babel's transpilation APIs to parse tailwindcss directives at compile time so that they may be used with css-in-js libraries. This efficiently bundles your css so that you only ship the precise css you use. The problem is, it's all quite slow.
What are some alternatives?
vetur - Vue tooling for VS Code.
twind - The smallest, fastest, most feature complete Tailwind-in-JS solution in existence.
lsp-volar - Language support for Vue3
Tailwind CSS - A utility-first CSS framework for rapid UI development.
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
tailwindcss-classnames - Functional typed classnames for TailwindCSS
vue-ts-eslint-template
jest-styled-components - 🔧 💅 Jest utilities for Styled Components
nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!
vue-emotion - Seamlessly use emotion (CSS-in-JS) with Vue.js
rfcs - RFCs for substantial changes / feature additions to Vue core
tailwind-safelist-generator - Tailwind plugin to generate purge-safe.txt files