From 422ce7f6c7164364f4d148fc0d47792aa0572757 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Sat, 3 Oct 2026 11:32:14 +0400 Subject: [PATCH 1/2] Link Vue's docs for Vapor mode, SFCs, and SSR --- README.md | 2 +- guides/features/sfc.md | 2 ++ guides/features/templates-and-ssr.md | 2 +- guides/features/vapor.md | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf3be7c..5d11f9d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Hex.pm](https://img.shields.io/hexpm/v/vize.svg)](https://hex.pm/packages/vize) [![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/vize) -Elixir bindings for [Vize](https://vizejs.dev), a Vue.js toolchain written in Rust. Parse, analyze, lint, and compile Vue single-file components from Elixir, including Vapor mode and its intermediate representation, plus a LightningCSS-based CSS pipeline. +Elixir bindings for [Vize](https://vizejs.dev), a [Vue.js](https://vuejs.org) toolchain written in Rust. Parse, analyze, lint, and compile Vue [single-file components](https://vuejs.org/guide/scaling-up/sfc.html) from Elixir, including [Vapor mode](https://github.com/vuejs/core/releases/tag/v3.6.0-beta.1#about-vapor-mode) and its intermediate representation, plus a [LightningCSS](https://lightningcss.dev)-based CSS pipeline. ```elixir {:ok, result} = diff --git a/guides/features/sfc.md b/guides/features/sfc.md index b275f14..13ddc8a 100644 --- a/guides/features/sfc.md +++ b/guides/features/sfc.md @@ -1,5 +1,7 @@ # Single-File Components +A [single-file component](https://vuejs.org/guide/scaling-up/sfc.html) is a `.vue` file with a template, scripts, and styles. Vue's [SFC syntax specification](https://vuejs.org/api/sfc-spec.html) describes the blocks. + ## Parsing `Vize.parse_sfc/1` returns the descriptor: the template, `