vueuse
Nuxt 3
Our great sponsors
vueuse | Nuxt 3 | |
---|---|---|
86 | 78 | |
18,626 | 11,062 | |
2.1% | - | |
9.6 | 9.9 | |
7 days ago | about 1 year 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.
vueuse
-
Ask HN: Learn React or Vue?
My opinion: Vue, specifically the Vue 3 Composition API. Most of your app state should come from computed() values. Bookmark https://vueuse.org and come back to it often. Go through VueUse's source (the docs for each function link to their source): you'll be surprised at how simple most of it is, and it stands as documentation of best practices for using the composition API in general.
- Useful Vue Utils with VueUse
-
Implementing Tailwind CSS Dark Mode Toggle with No Flicker
Now, let’s talk about Vue! Once again, we’ll use an external library to handle dark mode simply and quickly. In this case, the library is called VueUse, and you can install it using the command npm i @vueuse/core --save.
-
useHooks – A collection of Server Component safe React Hooks
Great library. Could use some improvements as said by other (tree shaking, add jsdocs, etc…). Just a quick reminder for the vuejs devs out there we have https://vueuse.org/
-
UseHooks – A Collection of Server Component Safe React Hooks
Yeah, I figured useHooks was created without knowing about VueUse, but thought they might have become aware of it sense then. It makes sense, because though the code is heading in the direction of VueUse in terms of being maintained and well rounded, the structure of useHooks is quite a bit different. It has the code alongside the Markdown: https://github.com/vueuse/vueuse/tree/main/packages/integrat...
- VueUse Full Screen issue
-
Sending notifications to the browser from Vue?
Demo: https://github.com/vueuse/vueuse/blob/main/packages/core/useWebNotification/demo.vue
-
First Time at Vue
Also take a look at https://vueuse.org/ which might save you some lines :)
- Composition API vs. Options API
-
Why isn’t everyone using <script setup>?
For what it's worth my timeframe is very similar to yours! Started in 2019, no React / Angular. I think looking at great codebases like [VueUse](https://github.com/vueuse/vueuse) shows off the best of composition API.
Nuxt 3
-
GitHub Accelerator: our first cohort and what's next
- https://github.com/nuxt/framework: An intuitive framework for building web applications, built for the edge.
-
What’s New With Nuxt 3
It uses Nuxi for Command line interface,
-
Does Nuxt support javascript-free static site generation?
Note, the repo linked below, https://github.com/danielroe/nuxt-zero-js, was an experiment that I subsequently moved into Nuxt core: https://github.com/nuxt/framework/pull/7248. I plan to update it to test out per-route zero-JS via a route rule.
-
Is it possible to deploy Nuxt under a subfolder without knowing the actual path?
I asked this before on the Github discussion https://github.com/nuxt/framework/discussions/10073, but I haven't found an answer yet.
-
What are you using for Authentication in Nuxt 3?
Also one I've reported a long time ago, that's still an issue today: If you start the Nuxt dev server without create the server/ folder, Nuxt isn't going to be able to read any of your server/api files. You have to create the folder and restart the dev server. Only then, it will start detecting your server files. This is an issue on both Windows and Linux.
-
How so enable cors in nitro?
Perhaps this thread can help you.
-
Crafting my Portfolio - Meta Tags for SEO
But there is a catch, nuxt.config does not allow functions in it. And it could be bother to mention this in every single page. Also, the later part is supposed to act like a Default or Fallback. Hmm.. Now what? Well, that where plugins system comes in. I can create a Plugin named title and add this logic there, which will be implemented on every page. Also, Nuxt devs mentioned this approach here.
-
Full page refresh on lazy import failure in Nuxt3
I've found a matching issue with a solution I can use as a hotfix for now: https://github.com/nuxt/framework/issues/6648
-
Nuxt 3.0 stable
https://github.com/nuxt/framework/issues/3587 (upstream Vue bug maybe?) https://github.com/nuxt/framework/issues/8634 https://github.com/nuxt/framework/issues/8611
-
Nuxt3 Is Finally Here - Stable Version!
This issue is where I started, and I noticed that in my project, setting the cookie header manually, or through a composable on the server-side doesn't actually set it in the browser (it doesn't show up in the developer tools). They've listed workarounds, but they're just that - the first link (when it comes back up, will show a messy composable you can write). Everything works fine with `axios` (instead of their built-in data fetching APIs), but the request seems to be executed twice on page load for some reason.
What are some alternatives?
svelte-actions - prototype official actions for Svelte
nuxt3-naive-ui-starter - A starter example for naive-ui with nuxt3.
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
h3 - ⚡️ Minimal H(TTP) framework built for high performance and portability
react-select - The Select Component for React.js
ofetch - 😱 A better fetch API. Works on node, browser and workers.
vuex - 🗃️ Centralized State Management for Vue.js.
naive-ui - A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.
vitesse - 🏕 Opinionated Vite + Vue Starter Template
Yii2 - Yii 2: The Fast, Secure and Professional PHP Framework
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
Laravel-AdminLTE - Easy AdminLTE integration with Laravel