{"id":16440574,"url":"https://github.com/icai/bootvue","last_synced_at":"2026-04-17T10:31:05.831Z","repository":{"id":141810792,"uuid":"131841018","full_name":"icai/bootvue","owner":"icai","description":"webpack 最佳实践，vue-cli 定制模板，同时兼容单页和多页开发","archived":false,"fork":false,"pushed_at":"2018-05-07T14:45:56.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T21:36:37.379Z","etag":null,"topics":["multi-page-application","multipage-application","single-page-app","vue","vue-cli","webpack"],"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/icai.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-02T11:27:48.000Z","updated_at":"2018-06-01T03:23:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b2fa6e5-b20f-4690-8747-1b7f2c3f15e5","html_url":"https://github.com/icai/bootvue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icai/bootvue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icai%2Fbootvue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icai%2Fbootvue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icai%2Fbootvue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icai%2Fbootvue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icai","download_url":"https://codeload.github.com/icai/bootvue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icai%2Fbootvue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31925261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:19:20.377Z","status":"ssl_error","status_checked_at":"2026-04-17T10:19:18.682Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["multi-page-application","multipage-application","single-page-app","vue","vue-cli","webpack"],"created_at":"2024-10-11T09:12:26.938Z","updated_at":"2026-04-17T10:31:05.806Z","avatar_url":"https://github.com/icai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack\n\n\u003e A full-featured Webpack setup with hot-reload, lint-on-save, unit testing \u0026 css extraction.\n\n\u003e This template is Vue 2.0 compatible.\n\n## Documentation\n\n- [For this template](http://icai.github.io/bootvue): common questions specific to this template are answered and each part is described in greater detail\n- [For Vue 2.0](http://vuejs.org/guide/): general information about how to work with Vue, not specific to this template\n\n## Usage\n\nThis is a project template for [vue-cli](https://github.com/vuejs/vue-cli). **It is recommended to use npm 3+ for a more efficient dependency tree.**\n\n``` bash\n$ npm install -g vue-cli\n$ vue init icai/bootvue my-project\n$ cd my-project\n$ npm install\n$ npm run dev\n```\n\n\u003cdel\u003e\nThis will scaffold the project using the `master` branch. If you wish to use the latest version of the webpack template, do the following instead:\n\n``` bash\n$ vue init icai/bootvue#develop my-project\n```\n\u003c/del\u003e\n\n\n:warning: **The develop branch is not considered stable and can contain bugs or not build at all, so use at your own risk.**\n\nThe development server will run on port 8080 by default. If that port is already in use on your machine, the next free port will be used.\n\n## What's Included\n\n- Solution Choice\n  - Multi Page\n  - SPA\n\n- `npm run dev`: first-in-class development experience.\n  - Webpack + `vue-loader` for single file Vue components.\n  - State preserving hot-reload\n  - State preserving compilation error overlay\n  - Lint-on-save with ESLint\n  - Source maps\n  - HappyPack\n  - AutoDllPlugin\n  - Some useful loaders (svg-sprite, html, )\n\n- `npm run build`: Production ready build.\n  - JavaScript minified with [UglifyJS v3](https://github.com/mishoo/UglifyJS2/tree/harmony).\n  - HTML minified with [html-minifier](https://github.com/kangax/html-minifier).\n  - CSS across all components extracted into a single file and minified with [cssnano](https://github.com/ben-eb/cssnano).\n  - Static assets compiled with version hashes for efficient long-term caching, and an auto-generated production `index.html` with proper URLs to these generated assets.\n  - Use `npm run build --report`to build with bundle size analytics.\n  - FileManagerPlugin\n\n\n- `npm run unit`: Unit tests run in [JSDOM](https://github.com/tmpvar/jsdom) with [Jest](https://facebook.github.io/jest/), or in PhantomJS with Karma + Mocha + karma-webpack.\n  - Supports ES2015+ in test files.\n  - Easy mocking.\n\n- `npm run e2e`: End-to-end tests with [Nightwatch](http://nightwatchjs.org/).\n  - Run tests in multiple browsers in parallel.\n  - Works with one command out of the box:\n    - Selenium and chromedriver dependencies automatically handled.\n    - Automatically spawns the Selenium server.\n\n### Fork It And Make Your Own\n\nYou can fork this repo to create your own boilerplate, and use it with `vue-cli`:\n\n``` bash\nvue init username/repo my-project\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficai%2Fbootvue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficai%2Fbootvue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficai%2Fbootvue/lists"}