{"id":27108246,"url":"https://github.com/deviltea/simple-f2e-template","last_synced_at":"2025-04-06T21:52:44.017Z","repository":{"id":55678859,"uuid":"317131705","full_name":"DevilTea/simple-f2e-template","owner":"DevilTea","description":"Demo: https://deviltea.github.io/simple-f2e-template/","archived":false,"fork":false,"pushed_at":"2020-12-13T17:00:20.000Z","size":124,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-10T12:41:58.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/DevilTea.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-11-30T06:32:02.000Z","updated_at":"2021-01-05T09:55:36.000Z","dependencies_parsed_at":"2022-08-15T06:20:30.141Z","dependency_job_id":null,"html_url":"https://github.com/DevilTea/simple-f2e-template","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevilTea%2Fsimple-f2e-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevilTea%2Fsimple-f2e-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevilTea%2Fsimple-f2e-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevilTea%2Fsimple-f2e-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevilTea","download_url":"https://codeload.github.com/DevilTea/simple-f2e-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557760,"owners_count":20958047,"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":"2025-04-06T21:52:43.383Z","updated_at":"2025-04-06T21:52:44.003Z","avatar_url":"https://github.com/DevilTea.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Multipage Frontend Project Template\n\nA zero config simple multipage f2e project template. Design for beginner's homework 😜.\n\n\u003e This template is just for the small scope development of multi-page f2e project.\n\n## Features\n- Webpack 4: Bundler\n- EJS: HTML template engine\n- SCSS: CSS pre-processor\n- PostCSS: CSS post-processor\n- Tailwind CSS: Configurabale utility-first CSS framework\n- Esbuild: Extremely fast JavaScript transpiler/minifier\n\n## Usage\n```bash\n# Clone the repo\n$ git clone https://github.com/DevilTea/simple-f2e-template.git\n\n# Move into the repo\n$ cd simple-f2e-template\n\n# Install dependencies\n$ npm install\n\n# After finishing setup your project\n# Run the development script\n$ npm run dev\n\n# Run the production building script\n$ npm run build\n\n# Create a new page if you want\n# Support recursive page by naming splitted '/'\n$ npm run new\n✔ What is the new page name?  example/waa\nNew page 'example/waa' created\n```\n\n## Structure\n```bash\n# A valid structure would be like\n└── (named folder)/\n    ├── data.json # (Required) The data would be import into this level's index.ejs\n    ├── public/ # All of the files and directories will keep original structure and copy into 'dist' folder\n    │   └── .gitkeep\n    │\n    ├── templates/\n    │   └── index.ejs # (Required) Entry point of ejs\n    ├── scss/\n    │   └── index.scss # (Required) Entry point of scss\n    └── scripts/\n        └── index.js # (Required) Entry point of js\n\n\n# Example project structure\n├── src/\n│   ├── build/ # Files related with building process, think twice before you modify them\n│   ├── global/ # Global resources' folder, it should extend the mentioned structure\n│   └── pages/ # The pages resources' folder, the children folders could be a recursive structure but should extend the mentioned structure\n│       └── index/ # Should extend the mentioned structure\n│       └── example/ # Should extend the mentioned structure\n│           └── pages/ # (Optional) Same as the ancestor 'pages'\n│               └── waa/ # Should extend the mentioned structure\n├── dist/ # The result after building, for example:\n│   ├── ... # Any files, folders that you put in 'public'\n│   ├── index.html\n│   ├── example.html\n│   └── example/\n│       └── example.html\n└ ... # A lot of config files, you could just ignore most of them\n```\n\n## Config\n```js\n// project.config.js\nmodule.export = {\n    // For example, if you are going to host the repo on gh-pages, you should modify this value to '/\u003crepo-name\u003e/' to have the correct result for bundled resources\n    publicPath: '/'\n}\n```\n\n## License\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviltea%2Fsimple-f2e-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeviltea%2Fsimple-f2e-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviltea%2Fsimple-f2e-template/lists"}