Skip to main content

Crate vize_atelier_ssr

Crate vize_atelier_ssr 

Source
Expand description

Vue SSR compiler for Vize.

This module provides SSR-specific compilation including:

  • SSR code generation with template literals and _push() calls
  • SSR-specific directive transforms (v-model, v-show)
  • SSR slot rendering
  • SSR component rendering
  • SSR teleport and suspense handling

§Name Origin

Atelier (/ˌætəlˈjeɪ/) is an artist’s workshop or studio. The “ssr” atelier specializes in server-side rendering output, producing HTML strings instead of VNode trees.

Re-exports§

pub use codegen::SsrCodegenContext;
pub use codegen::SsrCodegenResult;
pub use errors::SsrErrorCode;
pub use options::SsrCompilerOptions;
pub use steps::get_v_html_exp;
pub use steps::get_v_model_exp;
pub use steps::get_v_show_exp;
pub use steps::get_v_text_exp;
pub use steps::has_v_html;
pub use steps::has_v_model;
pub use steps::has_v_show;
pub use steps::has_v_text;
pub use vize_atelier_core::parser;

Modules§

codegen
SSR code generation.
core_codegen
VDOM code generation.
core_errors
Compiler error types and codes.
errors
SSR-specific compiler errors.
lane
Template transform lane for Vue template AST.
options
SSR compiler options.
runtime_helpers
Runtime helper registration and lookup.
steps
SSR-specific transform steps.
tokenizer
HTML tokenizer for Vue templates.

Structs§

Allocator
Arena allocator for Vize.
CompilerError
Compiler error
RootNode
Root AST node

Enums§

Namespace
Namespace for elements
RuntimeHelper
Runtime helper symbols
TemplateChildNode
All template child node types

Functions§

compile_ssr
Compile a Vue template for SSR with default options
compile_ssr_with_options
Compile a Vue template for SSR with custom options
compile_ssr_with_vue_parser_quirksDeprecated
Compile a Vue template for SSR with Vue parser quirk compatibility.
transform
Transform the root AST node.