Home / Function/ isForbiddenTag() — vue Function Reference

isForbiddenTag() — vue Function Reference

Architecture documentation for the isForbiddenTag() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  26654f22_9c12_fe5f_5055_41e02cec4701["isForbiddenTag()"]
  c27f0203_4eed_0348_4118_e8e105adc6ee["parse()"]
  c27f0203_4eed_0348_4118_e8e105adc6ee -->|calls| 26654f22_9c12_fe5f_5055_41e02cec4701
  style 26654f22_9c12_fe5f_5055_41e02cec4701 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 960–966

function isForbiddenTag(el): boolean {
  return (
    el.tag === 'style' ||
    (el.tag === 'script' &&
      (!el.attrsMap.type || el.attrsMap.type === 'text/javascript'))
  )
}

Subdomains

Called By

Frequently Asked Questions

What does isForbiddenTag() do?
isForbiddenTag() is a function in the vue codebase.
What calls isForbiddenTag()?
isForbiddenTag() is called by 1 function(s): parse.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free