vue3-realworld-example-app
vueuse
vue3-realworld-example-app | vueuse | |
---|---|---|
7 | 86 | |
900 | 18,761 | |
- | 1.2% | |
7.7 | 9.5 | |
6 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.
vue3-realworld-example-app
-
Fetch returning undefined, but data is being sent across network still
I'm using Vue to build out a little web app. I have a backend api already set up and now am trying to make calls to this api from my frontend. I've been using this public project for learning purposes: https://github.com/mutoe/vue3-realworld-example-app and I've taken some code from their src/utils, src/composable and src/services folders for properly setting up my fetch system. For example in their Profile.vue page located in src/pages/Profile, they get info for a profile by calling useProfile (from src/comspoable). Then useProfile calls fetchProfile, which calls get(), which then goes through a couple more functions in order to handle to response.
-
Is there a Vue 3 Github Repo which showcases different typescript syntax use cases with new script setup?
This might help https://github.com/mutoe/vue3-realworld-example-app
- Is there a Vue 3 GitHub repository of a sizable open source website equipped with modern syntax and tools where I can learn the best practices?
- Is it risky
- Good public repos with best practices?
- Why would anyone not use Vuex?
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.
What are some alternatives?
vitesse-webext - ⚡️ WebExtension Vite Starter Template
svelte-actions - prototype official actions for Svelte
Directus - The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
electron-vite-vue - 🥳 Really simple Electron + Vite + Vue boilerplate.
react-select - The Select Component for React.js
vuex-module-decorators - TypeScript/ES7 Decorators to create Vuex modules declaratively
vuex - 🗃️ Centralized State Management for Vue.js.
realworld - "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
vitesse - 🏕 Opinionated Vite + Vue Starter Template
blazor-client-side-realworld-example-app
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time