{"id":20177870,"url":"https://github.com/lassejlv/vite-include-html-plugin","last_synced_at":"2025-04-10T04:31:09.980Z","repository":{"id":204876177,"uuid":"712873355","full_name":"lassejlv/vite-include-html-plugin","owner":"lassejlv","description":"A vite plugin to import other html files into one html file","archived":false,"fork":false,"pushed_at":"2023-11-01T11:33:42.000Z","size":7,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T20:01:01.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lassejlv.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-01T11:32:13.000Z","updated_at":"2024-12-14T15:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8a7076a3-7bd6-47b2-bc07-44f742f5f339","html_url":"https://github.com/lassejlv/vite-include-html-plugin","commit_stats":null,"previous_names":["lassejlv/vite-include-html-plugin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lassejlv%2Fvite-include-html-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lassejlv%2Fvite-include-html-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lassejlv%2Fvite-include-html-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lassejlv%2Fvite-include-html-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lassejlv","download_url":"https://codeload.github.com/lassejlv/vite-include-html-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248157393,"owners_count":21057001,"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":[],"created_at":"2024-11-14T02:17:48.418Z","updated_at":"2025-04-10T04:31:09.947Z","avatar_url":"https://github.com/lassejlv.png","language":"JavaScript","readme":"# Vite Include Html File\n\nThis is a basic plugin that allows you to import other html files into one file. (Only works for vanilla)\n\n## Installation\n\n```bash\nnpm i vite-plugin-include-html -D\n```\n\n## Usage\n\n`vite.config.js` file\n\n```js\nimport includeHtml from \"vite-plugin-include-html\";\nimport { defineConfig } from \"vite\";\n\nexport default defineConfig({\n  plugins: [includeHtml()],\n});\n```\n\n```html\n\u003cinclude src=\"myfile.html\"\u003e\u003c/include\u003e\n```\n\n### Output\n\n```html\n\u003cdiv\u003e\n  \u003ch1\u003eThis is cool\u003c/h1\u003e\n  \u003cp\u003eYoo what is going on in here this is a test\u003c/p\u003e\n\u003c/div\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassejlv%2Fvite-include-html-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassejlv%2Fvite-include-html-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassejlv%2Fvite-include-html-plugin/lists"}