{"id":20420346,"url":"https://github.com/deepraining/vue-lib-starter","last_synced_at":"2026-04-09T23:01:50.495Z","repository":{"id":135801661,"uuid":"174648166","full_name":"deepraining/vue-lib-starter","owner":"deepraining","description":"一个用于快速创建 Vue 组件库的模板脚手架，使用 Storybook 构建. A boilerplate for creating a Vue library, using Storybook.","archived":false,"fork":false,"pushed_at":"2019-07-30T02:19:29.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T04:29:36.922Z","etag":null,"topics":["boilerplate","gulp","jest","lib","library","starter","storybook","vue","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/deepraining.png","metadata":{"files":{"readme":"README.en.md","changelog":"CHANGELOG.md","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":"2019-03-09T04:31:17.000Z","updated_at":"2020-09-18T02:07:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d717866-2745-4225-a57c-391762b18021","html_url":"https://github.com/deepraining/vue-lib-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepraining/vue-lib-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fvue-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fvue-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fvue-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fvue-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepraining","download_url":"https://codeload.github.com/deepraining/vue-lib-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepraining%2Fvue-lib-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262753172,"owners_count":23358883,"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":["boilerplate","gulp","jest","lib","library","starter","storybook","vue","webpack"],"created_at":"2024-11-15T06:42:32.512Z","updated_at":"2026-04-09T23:01:50.425Z","avatar_url":"https://github.com/deepraining.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-lib-starter\n\n[中文文档](./README.md)\n\nA boilerplate for creating a Vue library, using Storybook.\n\n## Getting started\n\n```\ngit clone https://github.com/senntyou/vue-lib-starter.git --depth=1\n\ncd vue-lib-starter\n\nnpm install             # install dependencies\n\nnpm run storybook       # develop using storybook\n\nnpm run build           # build distribution files\n```\n\n## Features\n\n- [less](http://lesscss.org/), [scss](https://sass-lang.com/) style languages support.\n- [Single File Components](https://vuejs.org/v2/guide/single-file-components.html), [jest](https://jestjs.io/en/) test support.\n- Using [storybook](https://storybook.js.org/) to develop, preview, deploy static site.\n\n## Project\n\n```\n- src\n  - index.js                 # js entry file\n  - styles\n    - index.{less,scss}      # style entry file\n\n- .storybook                 # for storybook\n- stories                    # for storybook\n```\n\nBy default, styles use `less` language, if you want to use `scss` language, you should modify `package.json` by:\n\n```\n\"scripts\": {\n  - \"build:styles\": \"npm run build:less\",\n  + \"build:styles\": \"npm run build:scss\",\n}\n```\n\n## Notes\n\n- It's recommended to write styles separately with scripts and templates (not in `.vue` files, but in `.{less,scss}` files).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fvue-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepraining%2Fvue-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepraining%2Fvue-lib-starter/lists"}