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

[建议]小程序标签补全冲突 #39

Closed
bigmeow opened this issue Mar 28, 2018 · 2 comments
Closed

[建议]小程序标签补全冲突 #39

bigmeow opened this issue Mar 28, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@bigmeow
Copy link

bigmeow commented Mar 28, 2018

在 vue 模板文件中,需要指定 template 的 lang="wxml"就能自动补全,
但是不少其他的脚手架工具,比如mpvue的,如果把模版的template的lang改了,会报错,因为默认lang是html。
希望换个自定义属性也能支持补全,比如
在 vue 模板文件中,需要指定 template 的 minapp="true"就能自动补全,

<template minapp="true"></template>
@bigmeow bigmeow changed the title 小程序标签补全冲突 [建议]小程序标签补全冲突 Mar 28, 2018
@qiu8310
Copy link
Owner

qiu8310 commented Mar 28, 2018

这样啊,没有 mpvue。 不过你的建议可行,我下个版本加上。

@qiu8310 qiu8310 added the enhancement New feature or request label Mar 28, 2018
@qiu8310
Copy link
Owner

qiu8310 commented Mar 31, 2018

@bigmeow 已经支持了,需要使用 minapp="mpvue"lang="mpvue"

注意,如果使用 minapp="mpvue" 的话,你的文件还是 html,所以你的模板中会同时存在 vue 和 minapp 的补全

vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants