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.
- Compiler
Error - Compiler error
- Root
Node - Root AST node
Enums§
- Namespace
- Namespace for elements
- Runtime
Helper - Runtime helper symbols
- Template
Child Node - 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_ quirks Deprecated - Compile a Vue template for SSR with Vue parser quirk compatibility.
- transform
- Transform the root AST node.