Closed ypresto closed 5 years ago
sfc.script
sfc.template
needMap: false
sfc.script.attrs
true
(I found this while copying sfc/parser.js of vue into my project, to workaround this PR)
sfc.script
andsfc.template
won't be undefined, see: https://github.com/vuejs/vue/blob/3b43c81216c2e29bd519c447e930d6512b5782e8/src/sfc/parser.js#L24needMap: false
is specified.sfc.script.attrs
can containtrue
, see: https://github.com/vuejs/vue/blob/3b43c81216c2e29bd519c447e930d6512b5782e8/src/sfc/parser.js#L45(I found this while copying sfc/parser.js of vue into my project, to workaround this PR)