Skip to content

Commit ea77ac2

Browse files
naumovsyyx990803
authored andcommitted
Allow rendering forbidden tags on the server (#3425)
1 parent 543ff97 commit ea77ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/parser/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function parse (
8585
element.ns = ns
8686
}
8787

88-
if (isForbiddenTag(element)) {
88+
if (process.env.VUE_ENV !== 'server' && isForbiddenTag(element)) {
8989
element.forbidden = true
9090
process.env.NODE_ENV !== 'production' && warn(
9191
'Templates should only be responsbile for mapping the state to the ' +

0 commit comments

Comments
 (0)