There seem to be something wrong with the pug template since Vue - official was upgraded to v2.0, and I found a related issue that still hasn't been resolved, which you can check out here.
I compared volar-service-pug to volar-service-html and found that the initialize function was missing in volar-service-pug, which resulted in an inability to accurately obtain customData.
I tried making changes to the code and repackaging the plugin, and finally, the completion in the pug template worked as expected.
I am new to this project and not sure if my changes are appropriate, but I hope they help.
There seem to be something wrong with the pug template since
Vue - official
was upgraded to v2.0, and I found a related issue that still hasn't been resolved, which you can check out here.I compared
volar-service-pug
tovolar-service-html
and found that theinitialize
function was missing involar-service-pug
, which resulted in an inability to accurately obtaincustomData
.I tried making changes to the code and repackaging the plugin, and finally, the completion in the pug template worked as expected.
I am new to this project and not sure if my changes are appropriate, but I hope they help.