poka.sh

Docs

VUE

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

Vue SFC Preview.

At a glance

Purpose A Vue single-file component: <template>, <script> and <style> blocks in one file.
Extensions .vue
Poka parser poka-vue
Viewer poka-text-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B2 Broad (see Breadth tiers)

How much Poka reads

B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-vue/src/main.rs (192 lines), plugin.json and poka-viewers' poka-text-viewer (plain text; it ignores the language hint). No unit tests or tests/samples.rs, and the corpus has no .vue sample. Covers .vue. The whole source is shown as text, under a summary line counting <template>, <script> (with setup and lang) and <style> blocks (with scoped) and custom blocks. Judgement: B2, because the full text is shown; the gaps are presentation, limits and the heuristic summary.

What Poka does not read

  • Shown as plain text without syntax highlighting
  • The component is not rendered, and template, script and style are not parsed into separate views
  • The text shown stops at 200,000 characters and files over 16 MiB are cut (both flagged)
  • Text that is not UTF-8 is decoded with replacement characters

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

Sources

  • parsers/poka-vue/src/main.rs
  • parsers/poka-vue/plugin.json