Class VanResolver
java.lang.Object
dev.vanengine.core.compile.VanResolver
Resolves
.van component imports, slots, scoped styles, and interpolation.-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolvedComponentresolveWithFiles(String entryPath, Map<String, String> files, com.fasterxml.jackson.databind.JsonNode data) Resolve a .van entry file with all component imports from an in-memory file map.static ResolvedComponentresolveWithFilesDebug(String entryPath, Map<String, String> files, com.fasterxml.jackson.databind.JsonNode data, Map<String, String> fileOrigins) Like resolveWithFiles, but with debug HTML comments.
-
Method Details
-
resolveWithFiles
public static ResolvedComponent resolveWithFiles(String entryPath, Map<String, String> files, com.fasterxml.jackson.databind.JsonNode data) Resolve a .van entry file with all component imports from an in-memory file map. -
resolveWithFilesDebug
-