GraphQL

Re-fetching A Vue Apollo Smart Query While Showing A Loading Indicator

I ran into a situation where I needed to re-fetch a Vue Apollo smart query while showing a loading indicator. At first, I thought the smart query's $apollo.queries.[QUERY_NAME].loading property was surely the way to go. But for some reason, this property doesn't get updated when the $apollo.queries.[QUERY_NAME].refetch() method gets called.

How To Authenticate a Nuxt.js App With a Laravel GraphQL Backend

Laravel, GraphQL, and Nuxt.js are meant for each other. When used together in a project, they make development easy, expressive, and powerful.

How To Implement a GraphQL Authentication Scheme In Nuxt.js

Nuxt.js has a great module that makes Authentication very easy in a Nuxt.js application. It comes with the most commonly used authentication providers out of the box, including, Auth0, Discord, Facebook, Google, and so on.