nativescript-vue / nativescript-vue/nativescript-vue

Support for Volar (AKA Vue Language Tools) in VS Code, vue-tsc, etc

Open
#1,075 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.5k
Forks
267
Avg merge
2d 5h
Merged PRs (30d)
43

Description

It seems types are currently missing for NativeScript components
image

This is also was is used by vue-tsc to type check a project. It would be nice if those types are registered. This might require a transform of the NativeScript type to something that Volar/Vue Language Tools can understand, a "fake" Vue component type, a web component like type, or something else, or maybe teaching Vue Language Tools to recognize NativeScript component types directly.

Without this you can't type check the project properly and you get no completions in the IDE for the NativeScript components.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how NativeScript component types are currently declared and how Volar or vue-tsc discovers component types. Compare the available approaches in the issue—transformed types, fake Vue components, web-component-like types, or direct recognition—and determine which integration point can support both type checking and IDE completions. Done means NativeScript components are recognized without the current missing-type errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.