vue-macros
unplugin
vue-macros | unplugin | |
---|---|---|
2 | 5 | |
1,595 | 2,816 | |
4.4% | 1.5% | |
9.6 | 8.7 | |
4 days ago | 5 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.
vue-macros
-
Coming here from svelteland... is there a way to put CSS module inside JS?
I recently encountered Vue Macros and it inspired me to create a compile-time macro library for CSS modules, unfortunately I haven't even started and am not planning to do so any time soon. I like having the entire component in a single file but honestly just having COMPONENT_NAME.module.css for each component is not bad at all. I'd just avoid doing the COMPONENT_NAME/style.module.css, this gets very tedious
-
Collection of Vue Macros in Vue.js 3.3
Looking at its GitHub repo, the library is well maintained. Moreover, Vue Macros supports Vue from version 2.7. To install Vue Macros, you need to run npm i -D unplugin-vue-macros, configure vite.config.ts, and the tsconfig.json as is installation suggests to start using them.
unplugin
-
Building universal JS/TS plugins with unplugin
Make sure to check it out here
- Are there any browser Dependency Injection containers that support the decorator pattern?
-
unplugin-transform-imports: An imports transform unplugin.
Wow, unplugin really is a lovely idea! I didn't know it before this, the tagline is: "Unified plugin system for Vite, Rollup, Webpack, and more".
-
File system based routing with webpack
The good news is that, similar needs have been solved in the vite community with https://github.com/hannoeru/vite-plugin-pages, we just need to port it to webpack and https://github.com/unjs/unplugin got our back.
- Unified plugin system for build tools (Vite, Rollup and We pack)
What are some alternatives?
toolkit-use - a npm toolkit use for vue.js
vite-plugin-pages - File system based route generator for ⚡️Vite
solid-styled-components - A 1kb Styled Components library for Solid
unplugin-icons - 🤹 Access thousands of icons as components on-demand universally.
solid-styled - Reactive stylesheets for SolidJS
unplugin-vue-components - 📲 On-demand components auto importing for Vue
vanilla-extract - Zero-runtime Stylesheets-in-TypeScript
vite-plugin-federation - Module Federation for vite & rollup
ts-monorepo - Template for setting up a TypeScript monorepo
unplugin-transform-imports - An imports transform unplugin.
electron-vite-vue - 🥳 Really simple Electron + Vite + Vue boilerplate.
electron-vite-boilerplate - 📚 Really simple Electron + Vite boilerplate.