parseUriParts() — vue Function Reference
Architecture documentation for the parseUriParts() function in utils.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 9556aec6_39da_eb46_c422_a9b26289b1d6["parseUriParts()"] 2347b93b_5b26_2b27_6743_fe5fed353eb5["utils.ts"] 9556aec6_39da_eb46_c422_a9b26289b1d6 -->|defined in| 2347b93b_5b26_2b27_6743_fe5fed353eb5 084fbb63_6e20_b1c4_c59e_540beed57a4e["urlToRequire()"] 084fbb63_6e20_b1c4_c59e_540beed57a4e -->|calls| 9556aec6_39da_eb46_c422_a9b26289b1d6 style 9556aec6_39da_eb46_c422_a9b26289b1d6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/templateCompilerModules/utils.ts lines 64–76
function parseUriParts(urlString: string): UrlWithStringQuery {
// initialize return value
const returnValue: UrlWithStringQuery = uriParse('')
if (urlString) {
// A TypeError is thrown if urlString is not a string
// @see https://nodejs.org/api/url.html#url_url_parse_urlstring_parsequerystring_slashesdenotehost
if ('string' === typeof urlString) {
// check is an uri
return uriParse(urlString, false, true) // take apart the uri
}
}
return returnValue
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does parseUriParts() do?
parseUriParts() is a function in the vue codebase, defined in packages/compiler-sfc/src/templateCompilerModules/utils.ts.
Where is parseUriParts() defined?
parseUriParts() is defined in packages/compiler-sfc/src/templateCompilerModules/utils.ts at line 64.
What calls parseUriParts()?
parseUriParts() is called by 1 function(s): urlToRequire.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free