{"id":13722301,"url":"https://github.com/spaceavocado/svelte-router-template","last_synced_at":"2025-10-25T00:30:41.228Z","repository":{"id":134971540,"uuid":"201279622","full_name":"spaceavocado/svelte-router-template","owner":"spaceavocado","description":"Boilerplate template project for spaceavocado/svelte-router - Simple Svelte Router for Single Page Applications (SPA).","archived":false,"fork":false,"pushed_at":"2019-10-22T00:26:26.000Z","size":1184,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T12:02:20.428Z","etag":null,"topics":["router","svelte","svelte-router","svelte3","template"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/spaceavocado.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-08-08T14:51:49.000Z","updated_at":"2023-01-27T22:55:50.000Z","dependencies_parsed_at":"2023-04-08T19:10:37.451Z","dependency_job_id":null,"html_url":"https://github.com/spaceavocado/svelte-router-template","commit_stats":null,"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceavocado%2Fsvelte-router-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceavocado%2Fsvelte-router-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceavocado%2Fsvelte-router-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaceavocado%2Fsvelte-router-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spaceavocado","download_url":"https://codeload.github.com/spaceavocado/svelte-router-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867387,"owners_count":16555891,"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":["router","svelte","svelte-router","svelte3","template"],"created_at":"2024-08-03T01:01:27.074Z","updated_at":"2025-10-25T00:30:35.855Z","avatar_url":"https://github.com/spaceavocado.png","language":"HTML","funding_links":[],"categories":["templates"],"sub_categories":["editor tools"],"readme":"# Svelte Router Template\n\nBoilerplate template project for [spaceavocado/svelte-router](https://github.com/spaceavocado/svelte-router) - Simple Svelte Router for Single Page Applications (SPA). \n\n## Live Preview\n[https://spaceavocado.github.io/svelte-router-template/](https://spaceavocado.github.io/svelte-router-template/)\n\n## Setup\n1. Clone this repository or [create your repository from this template](https://help.github.com/en/articles/creating-a-repository-from-a-template).\n2. Install packages:\n\t```npm install ``` or ```yarn install ```\n\n## Essential Information\n\n - [Webpack](https://webpack.js.org/) based project.\n - JS transpiled with [Babel](https://babeljs.io/).\n - SCSS for Svelte integrated with [Svelte Preprocess](https://github.com/kaisermann/svelte-preprocess), please see [svelte.config.js](https://github.com/spaceavocado/svelte-router-template/blob/master/svelte.config.js) for integration details.\n - [Pug](https://pugjs.org/) for Svelte integrated with [Svelte Preprocess](https://github.com/kaisermann/svelte-preprocess), please see the [Svelte Pug syntax limitations](https://github.com/kaisermann/svelte-preprocess#pug).\n - The template is set to use the Svelte Router HTML5 history mode, to switch it to HASH mode, please see the [Router Options](https://github.com/spaceavocado/svelte-router#router-options).\n\t```javascript\n\tcreateRouter({\n\t  mode: ROUTER_MODE.HASH,\n\t});\n\t```\n\n## Local Development Server\nTo run the development server that provides live reloading, run:\n```npm run start``` or  ```yarn start```\n\n## Production Build\n```npm run build:prod``` or  ```yarn build:prod```\n\n\u003e Note: If hosted in a sub-folder, e.g. domain.com/project/, please update the **baseURL** in:\n\u003e * webpack.config.js\n\u003e * package.json\n\nThe productions files are located in **/publish** folder:\n\n - index.html\n - dist\n - assets\n\n## License\nSvelte Router is released under the MIT license. See [LICENSE.txt](https://github.com/spaceavocado/svelte-router-template/blob/master/LICENSE.txt).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceavocado%2Fsvelte-router-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspaceavocado%2Fsvelte-router-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaceavocado%2Fsvelte-router-template/lists"}