Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工程 Taro-vue2-vuex-sass ,在vscode中taro相关的标签和属性没有代码补全功能 #10588

Open
CaopanHuster opened this issue Nov 4, 2021 · 0 comments
Labels
F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@CaopanHuster
Copy link

相关平台

微信小程序

小程序基础库: 2.20.1
使用框架: Vue 2

复现步骤

<template>
  <view class="index">
   <image/>
  </view>
</template>

如上的代码,和Taro相关的标签,如image,view 相关的属性如mode都不会提示,但是和vue相关的v-bind,class等等都能补全,代码能正常执行,展示也没有问题,是原本如此还是我配置有问题

期望结果

Taro相关api能在vscode中有代码补全

实际结果

Taro相关api在vscode中没有代码补全

环境信息

  Taro CLI 3.3.12 environment info:
    System:
      OS: macOS 11.3.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.13.0 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 8.1.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.3.12 => 3.3.12 
      @tarojs/mini-runner: 3.3.12 => 3.3.12 
      @tarojs/runtime: 3.3.12 => 3.3.12 
      @tarojs/taro: 3.3.12 => 3.3.12 
      @tarojs/webpack-runner: 3.3.12 => 3.3.12 
      babel-preset-taro: 3.3.12 => 3.3.12 
      eslint-config-taro: 3.3.12 => 3.3.12 
@taro-bot2 taro-bot2 bot added F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

1 participant