{"id":13596944,"url":"https://github.com/octref/veturpack","last_synced_at":"2025-04-06T09:09:31.672Z","repository":{"id":48514238,"uuid":"94519008","full_name":"octref/veturpack","owner":"octref","description":"Project based on vuepack to try Vetur.","archived":false,"fork":false,"pushed_at":"2021-07-22T00:12:27.000Z","size":214,"stargazers_count":424,"open_issues_count":3,"forks_count":87,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-30T08:08:54.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vue","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/octref.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}},"created_at":"2017-06-16T07:44:40.000Z","updated_at":"2025-03-29T00:14:53.000Z","dependencies_parsed_at":"2022-07-30T01:37:53.430Z","dependency_job_id":null,"html_url":"https://github.com/octref/veturpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fveturpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fveturpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fveturpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2Fveturpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octref","download_url":"https://codeload.github.com/octref/veturpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457803,"owners_count":20941906,"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":"2024-08-01T16:02:59.324Z","updated_at":"2025-04-06T09:09:31.648Z","avatar_url":"https://github.com/octref.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# Veturpack\n\nA Vue project with minimal setup and dependencies for trying out [Vetur](https://github.com/vuejs/vetur)'s features. Also used for creating minimal, reproducible case for Vetur bug reports.\n\n## Usage\n\n- Install latest version of [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)\n- `git clone git@github.com:octref/veturpack.git`\n- `cd veturpack`\n- `yarn install`\n- `code .`\n\n## Things to Try\n\nTry all features below in `src/Test.vue`. You can read more about these features in Vetur's documentation: https://vuejs.github.io/vetur/.\n\n- Do an emmet expansion on the html template. For example, type `div` and then tab.\n- Complete on `\u003crouter|`. Because of the [`vue-router`](https://router.vuejs.org/) dependency, you should see [`router-link`](https://router.vuejs.org/api/#router-link). Read more about this feature in [Framework Support](https://vuejs.github.io/vetur/framework.html).\n- `yarn add element-ui`, reload the project and complete `\u003cel`. You should see all tags from [Element UI](https://element.eleme.cn/#/en-US/component). Read more about this feature in [Framework Support](https://vuejs.github.io/vetur/framework.html).\n- Complete on `\u003cfoo`. You should see `\u003cfoo-tag\u003e`. Read more about this feature in [Framework Support](https://vuejs.github.io/vetur/framework.html).\n- Hover over any tags such as `\u003cdiv\u003e` or `\u003crouter-link\u003e`. You'll see the tag's description.\n- Because of `\"vetur.experimental.templateInterpolationService\": true` in `.vscode/settings.json`, you should see an error on `{{ fo }}` in the template section. Change it to `foo` to fix the error.\n- Delete the `foo` in `{{ foo }}`. Type `b`. You should see completion of `bar`.\n- In script section, try `_.`. You should see all [lodash](https://lodash.com)'s methods.\n- Install another library with types, such as [jquery](https://api.jquery.com/). `yarn add -S jquery \u0026\u0026 yarn add -D @types/jquery`. After importing it with `import * as $ from 'jquery'`, you should get `$.` completions.\n- Setup [eslint-plugin-vue](https://eslint.vuejs.org/user-guide/) with a `.eslintrc`. Set `\"vetur.validation.template\": false` to turn off Vetur's builtin ESLint linter. You'll get ESLint warnings now.\n- In `\u003cscript\u003e` section, add `//@ts-check`. Write some type-unsafe code, such as `let a = 'a'; a = 5`. You'll see an error.\n- F1 -\u003e Format the document. You can [configure](https://vuejs.github.io/vetur/formatting.html) the formatters and their settings as well.\n- In `.prettierrc.json`, set `\"singleQuote\": true` and format again.\n- Type `\u003cstyle scss` and tab to choose a snippet. You should get a SCSS section setup. These snippets are [customizable](https://vuejs.github.io/vetur/snippet.html). \n- Try some CSS completions in the `\u003cstyle lang=\"scss\"\u003e` section.\n- Make some errors in the Vue file and run [vti](https://vuejs.github.io/vetur/vti.html) — you should see all diagnostics printed on CLI.\n\n## Next\n\nFor a more comprehensive setup, refer to https://github.com/chrisvfritz/vue-enterprise-boilerplate.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Fveturpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctref%2Fveturpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Fveturpack/lists"}