Skip to content

WebC v0.6.0: Import Aliases and `@text`

Compare
Choose a tag to compare
@zachleat zachleat released this 01 Nov 20:06
· 141 commits to main since this release
  • Adds npm: prefix to webc:import to import directly from node_modules (e.g. webc:import="npm:@11ty/eleventy-plugin-syntaxhighlighter/syntax-highlight.webc") #63
  • Option to add your own webc:import prefix alias to point to any folder (e.g. page.setAlias("key", "./my_custom_folder/");) #63
  • Adds @text prop for escaped content #51
  • Add support for <link rel="stylesheet" href="" webc:scoped> #53
  • Use any npm package in webc:type="render" functions by @RobinCsl in #59 #60
  • Access default slot as text in webc:type="render" functions #61
  • Fix for missing base64url encoding was on Stackblitz #56
  • Fix for extra <html><head><body> elements when using @html #57
  • Document page and component rendering modes #54 #64