{"id":13695030,"url":"https://github.com/lmk123/webpack-boilerplate","last_synced_at":"2025-05-03T04:31:35.704Z","repository":{"id":87856829,"uuid":"55339977","full_name":"lmk123/webpack-boilerplate","owner":"lmk123","description":"[DEPRECATED] Webpack with Vue.js boilerplate.","archived":true,"fork":false,"pushed_at":"2019-02-13T06:20:23.000Z","size":956,"stargazers_count":27,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T15:53:39.265Z","etag":null,"topics":["vue","webpack","webpack-boilerplate"],"latest_commit_sha":null,"homepage":"https://lmk123.github.io/webpack-boilerplate/","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/lmk123.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}},"created_at":"2016-04-03T09:56:35.000Z","updated_at":"2023-01-28T19:02:35.000Z","dependencies_parsed_at":"2024-01-14T19:12:41.419Z","dependency_job_id":"edebad26-edd0-42d2-b880-4c7895cc1afd","html_url":"https://github.com/lmk123/webpack-boilerplate","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/lmk123%2Fwebpack-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk123%2Fwebpack-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk123%2Fwebpack-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmk123%2Fwebpack-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmk123","download_url":"https://codeload.github.com/lmk123/webpack-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252144564,"owners_count":21701434,"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":["vue","webpack","webpack-boilerplate"],"created_at":"2024-08-02T17:01:58.224Z","updated_at":"2025-05-03T04:31:31.307Z","avatar_url":"https://github.com/lmk123.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"**Deprecated, use [Vue CLI](https://cli.vuejs.org/) instead.**\n\n# Webpack With Vue.js Boilerplate\n\nThis is a Webpack + Vue.js boilerplate that heavy inspired by [vuejs-templates/webpack](https://github.com/vuejs-templates/webpack) with these features:\n\n - Apply [Autoprefixer](https://github.com/postcss/autoprefixer) outside of `.vue` components. See [vuejs-templates/webpack#600](https://github.com/vuejs-templates/webpack/issues/600).\n - Use [webpack-dev-server](https://github.com/webpack/webpack-dev-server) instead of custom develop server.\n - [Simple config](build/config.js).\n - Not lint-on-save with ESLint: run `npm run lint` instead. This make me easy to debug code temporary.\n - Use **relative public path** by default. See [vuejs-templates/webpack#200](https://github.com/vuejs-templates/webpack/issues/200).\n - Keep source map path comment in the CSS files after a production build. See [NMFR/optimize-css-assets-webpack-plugin#6](https://github.com/NMFR/optimize-css-assets-webpack-plugin/pull/6).\n - Apply Babel plugins with [babel-preset-env](https://github.com/babel/babel-preset-env).\n - Use [HashedModuleIdsPlugin](https://github.com/webpack/webpack/blob/master/lib/HashedModuleIdsPlugin.js) to keep module ids consistent. See [vuejs-templates/webpack#406](https://github.com/vuejs-templates/webpack/issues/406).\n - Similar to JS, also split CSS to `vendor.css` and `main.css`. See [vuejs-templates/webpack#598](https://github.com/vuejs-templates/webpack/issues/598).\n - Ready to use `import('./path/to/module')` syntax to [code-splitting](https://webpack.js.org/guides/code-splitting-import/).\n\n...and other little improve.\n\n## Usage\n\n 1. Clone this template use [Git](https://git-scm.com/) or [download it](https://github.com/vuejs-templates/webpack/archive/master.zip).\n 2. Install dependencies: `npm install`\n\nNow you have three commands:\n\n - `npm start`\n - `npm run build`\n - `npm run lint`: Lint code with ESLint (use [JavaScript Standard Style](https://standardjs.com/) rules)\n\n## Trouble-shooting\n\nThis boilerplate use [Sass](http://sass-lang.com/) by default so I specified `node-sass` and `sass-loader` in package.json, but if you want use [less](http://lesscss.org/) or [stylus](http://stylus-lang.com/), you need install then by yourself:\n\n```\nnpm install less-loader --save-dev\nnpm install stylus-loader --save-dev\n```\n\n**FOR CHINESE USER:** 如果你在安装 `node-sass` 时遇到问题，请参考这篇文章解决：[安装 node-sass 的正确姿势](https://github.com/lmk123/blog/issues/28)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmk123%2Fwebpack-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmk123%2Fwebpack-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmk123%2Fwebpack-boilerplate/lists"}