{"id":16184256,"url":"https://github.com/hunterliu1003/nuxt-tailwind-blog","last_synced_at":"2025-03-19T02:31:09.332Z","repository":{"id":40724317,"uuid":"253493091","full_name":"hunterliu1003/nuxt-tailwind-blog","owner":"hunterliu1003","description":"📝A blog build with Nuxt.js, TailwindCSS, markdown-it, etc. Supporting universal mode and static hosting in Nuxt.js.","archived":false,"fork":false,"pushed_at":"2022-12-12T09:54:45.000Z","size":6786,"stargazers_count":6,"open_issues_count":19,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T07:09:28.702Z","etag":null,"topics":["blog","markdown-it","nuxt","seo","static-site-generator","tailwindcss","vue"],"latest_commit_sha":null,"homepage":"https://hunterliu.now.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/hunterliu1003.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-04-06T12:37:37.000Z","updated_at":"2023-06-02T09:53:53.000Z","dependencies_parsed_at":"2023-01-27T17:31:20.482Z","dependency_job_id":null,"html_url":"https://github.com/hunterliu1003/nuxt-tailwind-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunterliu1003%2Fnuxt-tailwind-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunterliu1003%2Fnuxt-tailwind-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunterliu1003%2Fnuxt-tailwind-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunterliu1003%2Fnuxt-tailwind-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunterliu1003","download_url":"https://codeload.github.com/hunterliu1003/nuxt-tailwind-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221720369,"owners_count":16869474,"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":["blog","markdown-it","nuxt","seo","static-site-generator","tailwindcss","vue"],"created_at":"2024-10-10T07:09:34.789Z","updated_at":"2024-10-27T19:09:03.121Z","avatar_url":"https://github.com/hunterliu1003.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuxt-tailwind-blog\n\nThis project was inspired by [VuePress](https://v1.vuepress.vuejs.org/), but based on [Nuxt.js](https://nuxtjs.org/)\n\n## Introduction\n\n\u003e Supporting nuxt universal mode and static hosting\n\nThis side project using the following packages:\n\n- [markdown-it](https://github.com/markdown-it/markdown-it): This project uses markdown-it as the Markdown renderer\n- [Prism](https://github.com/markdown-it/markdown-it): This project uses Prism to highlight language syntax in Markdown code blocks\n- [Tailwind CSS](https://tailwindcss.com/): A utility-first CSS framework\n- [PurgeCSS](https://purgecss.com/): A tool to remove unused CSS\n- [vue-automatic-import-loader](https://github.com/hunterliu1003/vue-automatic-import-loader): A tool to automatically import Vue components by using a match function\n- [@nuxtjs/gtm](https://github.com/nuxt-community/gtm-module): Google Tag Manager Module for Nuxt.js\n- [@nuxtjs/robots](https://github.com/nuxt-community/robots-module): a middleware to generate a robots.txt file \n- [@nuxtjs/sitemap](https://github.com/nuxt-community/sitemap-module): Automatically generate or serve dynamic sitemap.xml\n\n## Usage\nAt first, you should create `.env` file at root directory.\n\nThe following environment variables are necessary:\n```\nBASE_URL=http://localhost:3000\nGTM_ID=GTM-XXX\nGOOGLE_SITE_VERIFICATION=XXXXXXXXXXXXXXXXXXXXX\n```\n\nIf you don't need `GTM_ID` and `GOOGLE_SITE_VERIFICATION`, you can turn off in nuxt.config.js\n\n## Nuxt Generate Mode\n\nBefore you generate static html by script `yarn generate`, you should run script `yarn start` for running the backend API.\n\n## Build Setup\n\n```bash\n# install dependencies\n$ yarn install\n\n# serve with hot reload at localhost:3000\n$ yarn dev\n\n# build for production and launch server\n$ yarn build\n$ yarn start\n\n# generate static project\n$ yarn generate\n```\n\n## [Demo](https://hunterliu.now.sh)\n\n## Deployment\n\nYou can easily deploy this project by using [**Vercel**](https://vercel.com) (It was called **Zeit** before)\n\n```bash\n# deploy preview application\n$ now\n# deploy to production\n$ now --prod\n```\n\nYou have to set the environment variables in your Vercel project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunterliu1003%2Fnuxt-tailwind-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunterliu1003%2Fnuxt-tailwind-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunterliu1003%2Fnuxt-tailwind-blog/lists"}