GithubHelp home page GithubHelp logo

Comments (2)

zhuddan avatar zhuddan commented on August 19, 2024 1

谢谢你的回复!十分抱歉!我的tsconfig配置存在问题,现在已经可以正常工作了。

from uni-app-types.

ModyQyW avatar ModyQyW commented on August 19, 2024

在我的本地环境(volar 1.8.8 + vue 3.3)一切正常

image

会不会漏了什么配置呢?

  • 如果是使用 yarn v2/v3 或者 pnpm 安装依赖需要额外配置
  • volar 需要启用接管模式,或者安装 TypeScript Vue Plugin
  • 需要设置 tsconfig.json vueCompilerOptions.nativeTags
  • 必要时重启 VS Code

如果仍然无效,可以麻烦提供一下 demo 吗?谢谢🙏

from uni-app-types.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.