{"id":15641864,"url":"https://github.com/dcblogdev/admintw","last_synced_at":"2025-04-30T09:16:35.411Z","repository":{"id":45485040,"uuid":"302573676","full_name":"dcblogdev/admintw","owner":"dcblogdev","description":"Admin theme built with Tailwindcss and AlpineJS","archived":false,"fork":false,"pushed_at":"2021-12-11T10:48:53.000Z","size":2365,"stargazers_count":68,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-30T09:16:23.457Z","etag":null,"topics":["admin","admin-template","alpinejs","tailwindcss","theme"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcblogdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-09T08:01:12.000Z","updated_at":"2024-02-18T05:17:49.000Z","dependencies_parsed_at":"2022-07-18T23:32:22.626Z","dependency_job_id":null,"html_url":"https://github.com/dcblogdev/admintw","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/dcblogdev%2Fadmintw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcblogdev%2Fadmintw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcblogdev%2Fadmintw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcblogdev%2Fadmintw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcblogdev","download_url":"https://codeload.github.com/dcblogdev/admintw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251674590,"owners_count":21625646,"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":["admin","admin-template","alpinejs","tailwindcss","theme"],"created_at":"2024-10-03T11:52:51.831Z","updated_at":"2025-04-30T09:16:35.374Z","avatar_url":"https://github.com/dcblogdev.png","language":"CSS","readme":"# AdminTW\n\nThe theme sources files are located in public.\n\nLaravle users see [https://github.com/dcblogdev/laravel-admintw](https://github.com/dcblogdev/laravel-admintw)\n\n![AdminTW](dashboard.png)\n\nWith dark mode support\n![AdminTW](dark.png)\n\n## Run Tailwind\nThe original source files to run Tailwind has been included to enable you to run the same setup.\n\nTo run the source files follow these steps:\n\n1) Download or clone this repo, moving into the root and install NPM\n\n```js\nnpm install\n```\n\nWatch the html files as you make changes. You can install NPM Live-Server to watch for changes in html files and auto reload the pages.\n\nto install Live Server globally:\n\n```js\nnpm install -g live-server\n```\n\nThen to run and watch the public folder:\n\n```js\nlive-server public\n```\n\n## Getting ready for deployment\n\nFor production the stylesheet will need to be perged of all unused CSS classes.\n\nTo do this open postcss.config.js then uncomment:\n```js\n/*require('@fullhuman/postcss-purgecss')({\n    content: [\n      './public/*.html'\n    ],\n    defaultExtractor: content =\u003e content.match(/[A-Za-z0-9-_:/]+/g) || []\n})*/\n```\n\nTo it looks like this:\n\n```js\nrequire('@fullhuman/postcss-purgecss')({\n    content: [\n      './public/*.html'\n    ],\n    defaultExtractor: content =\u003e content.match(/[A-Za-z0-9-_:/]+/g) || []\n})\n```\n\nThen install NPM if you haven't already by running \n\n```js\nnpm install\n````\n\nNext recompile the styles.css by running \n\n```js\nnpm run build\n```\n\nthis will then remove all unused styles from tailwind into the public/css/tailwind.css file. \n\n\u003eThis should only be done for deployment. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcblogdev%2Fadmintw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcblogdev%2Fadmintw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcblogdev%2Fadmintw/lists"}