{"id":16259747,"url":"https://github.com/bdrtsky/nuxt-dev-to-clone","last_synced_at":"2025-05-12T00:31:24.031Z","repository":{"id":62414897,"uuid":"248807677","full_name":"bdrtsky/nuxt-dev-to-clone","owner":"bdrtsky","description":"Build DEV.TO clone with Nuxt.js and new `fetch` hook","archived":true,"fork":false,"pushed_at":"2021-12-20T11:05:52.000Z","size":8582,"stargazers_count":158,"open_issues_count":4,"forks_count":59,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-26T08:11:24.480Z","etag":null,"topics":["api","fetch","lazy-loading","neomorphism","neumorphism","nuxt","nuxtjs","vue"],"latest_commit_sha":null,"homepage":"https://quixotic-scissors.surge.sh/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bdrtsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-20T16:54:18.000Z","updated_at":"2025-02-02T03:40:27.000Z","dependencies_parsed_at":"2022-11-01T15:02:05.300Z","dependency_job_id":null,"html_url":"https://github.com/bdrtsky/nuxt-dev-to-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrtsky%2Fnuxt-dev-to-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrtsky%2Fnuxt-dev-to-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrtsky%2Fnuxt-dev-to-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdrtsky%2Fnuxt-dev-to-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdrtsky","download_url":"https://codeload.github.com/bdrtsky/nuxt-dev-to-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253655844,"owners_count":21943069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","fetch","lazy-loading","neomorphism","neumorphism","nuxt","nuxtjs","vue"],"created_at":"2024-10-10T16:04:43.790Z","updated_at":"2025-05-12T00:31:19.063Z","avatar_url":"https://github.com/bdrtsky.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev.to clone built with NuxtJS\n\n\u003e An articles aggregation app using [DEV.TO](https://dev.to) public [API](https://docs.dev.to/api/), demonstrating capabilities of [NuxtJS](https://nuxtjs.org) new [fetch()](https://nuxtjs.org/api/pages-fetch)\n\nSee [live mode](https://quixotic-scissors.surge.sh/).\n\n[![Edit dev-to-clone-nuxt](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/bdrtsky/nuxt-dev-to-clone/tree/master/?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\n## What You’ll Learn\n\n- use `$fetchState` for showing nice placeholders while data is fetching on the client side\n\n- use `keep-alive` and `activated` hook to efficiently cache API requests on pages that have already been visited\n\n- reuse the `fetch` hook with `this.$fetch()`\n\n- set `fetchOnServer` value to control when we need to render our data on the server side or not\n\n- find a way to handle errors from `fetch` hook.\n\n## Getting Started\n\n```sh\n# clone the project\ngit clone https://github.com/bdrtsky/nuxt-dev-to-clone.git\n\n# install dependencies\nnpm install\n\n# start the project\nnpm run dev\n\n# go to http://localhost:3000\n```\n\nRead full article: https://nuxtjs.org/blog/build-dev-to-clone-with-nuxt-new-fetch\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/bdrtsky/nuxt-dev-to-clone/master/static/demo.gif\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdrtsky%2Fnuxt-dev-to-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdrtsky%2Fnuxt-dev-to-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdrtsky%2Fnuxt-dev-to-clone/lists"}