{"id":22576961,"url":"https://github.com/danvc/create-react-app-multiple-entry-points","last_synced_at":"2025-04-10T17:14:31.606Z","repository":{"id":126687759,"uuid":"230193672","full_name":"danvc/create-react-app-multiple-entry-points","owner":"danvc","description":"Example that shows up how to add multiple entry points on Create React App V3 (CRA)","archived":false,"fork":false,"pushed_at":"2020-07-17T16:38:01.000Z","size":606,"stargazers_count":32,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:01:44.463Z","etag":null,"topics":["create-react-app","multiple-entry","multiple-pages","react","reactjs"],"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/danvc.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":"2019-12-26T04:17:52.000Z","updated_at":"2024-11-12T11:25:27.000Z","dependencies_parsed_at":"2023-06-17T16:46:03.138Z","dependency_job_id":null,"html_url":"https://github.com/danvc/create-react-app-multiple-entry-points","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/danvc%2Fcreate-react-app-multiple-entry-points","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2Fcreate-react-app-multiple-entry-points/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2Fcreate-react-app-multiple-entry-points/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2Fcreate-react-app-multiple-entry-points/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danvc","download_url":"https://codeload.github.com/danvc/create-react-app-multiple-entry-points/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248261916,"owners_count":21074225,"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":["create-react-app","multiple-entry","multiple-pages","react","reactjs"],"created_at":"2024-12-08T04:10:26.032Z","updated_at":"2025-04-10T17:14:31.597Z","avatar_url":"https://github.com/danvc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Create React App with multiple entry points\n\n**Attention**: It's an `ejected` version of `create-react-app`, however, I'm going to push a PR for this missing feature. The non `ejected` version could be find here: https://github.com/DanZeuss/create-react-app\n\n**There's a pending PR for this solution on https://github.com/facebook/create-react-app/pull/8249**\n\nTo add more entry points, follow the steps:\n- Before cloning, please, slap ⭐️ now\n- Add a new page in the `package.json` in the property `appPages`. There are 2 existing pages there: `index` and `login`;\n- Create your new files for the new page. You should add a new `.html` file inside the `public` folder and also add your new `.js` file (related to your \"new\" app) inside your `src` folder.\n- Run `yarn start` or `npm start`;\n- Access your using the following url `/.hml`, for example: `http://localhost:3000/login.html`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvc%2Fcreate-react-app-multiple-entry-points","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanvc%2Fcreate-react-app-multiple-entry-points","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvc%2Fcreate-react-app-multiple-entry-points/lists"}