Skip to content

Commit 2301f72

Browse files
committed
fix partial resolution in children
1 parent 375c823 commit 2301f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/element-directives/partial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
},
4545

4646
insert: function (id) {
47-
var partial = this.vm.$options.partials[id]
47+
var partial = _.resolveAsset(this.vm.$options, 'partials', id)
4848
_.assertAsset(partial, 'partial', id)
4949
if (partial) {
5050
var frag = templateParser.parse(partial, true)

0 commit comments

Comments
 (0)