vuejs

repl

Vue SFC REPL as a Vue 3 component

by vuejs

TypeScript

TypeScript57.9%
Vue27.1%
HTML7.7%
CSS6.2%
JavaScript1.1%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 16h ago
See all on GitHub →
trackoor

When a file is placed in a subfolder (for example , which , , and Monaco/Volar all accept), relative imports in that file are resolved from instead of from the importing file's directory, and specifiers are not resolved as local modules. Reproduction 1. Sibling in : SFC Playground: https://play.vuejs.org/#eNpdjkEKwjAQRa8yZNONJIh2I7HgPQoiccSKTUIyLdrSuztNQdrsMpn3359RXLyXfYfiJHQ0ofEEEanzVW2b1rtAMMIXJngE10IhlXH8a9FSVEa+YlFbrZYcJ3ggbP37RsgTgH7uqzHlJ634PcMrQOxEpuMr/q3DqvW+VOEn7Yyzkdh6hiGXzCBLNuDAYJFMGchGTl97DLFxlmMHWcpjKaYfq0tfAA== preview (): https://repl-vuejs.vercel.app/#eNpdjkEKwjAQRa8yZNONJIh2I7HgPQoiccSKTUIyLdrSuztNQdrsMpn3359RXLyXfYfiJHQ0ofEEEanzVW2b1rtAMMIXJngE10IhlXH8a9FSVEa+YlFbrZYcJ3ggbP37RsgTgH7uqzHlJ634PcMrQOxEpuMr/q3DqvW+VOEn7Yyzkdh6hiGXzCBLNuDAYJFMGchGTl97DLFxlmMHWcpjKaYfq0tfAA== 2. Same setup when () also exists at root: https://play.vuejs.org/#eNp9jsEKwjAMhl8l9LKLtIjuInXgewxEasSJa0uTDd3Yu5ttIHMHb03z/d+fXp1i1G2D6qAsuVRFBkJuYlH6qo4hMfTwhgFuKdSQaeOC/Hr0TMbpB2Wlt2bOSUIGxjo+L4wyAdj7tuin/GCNvEd4AaiNWunkim9rt2i9zlX4mnYueGKxHqFbS0ZQJD9gJ2A2mVagGCX9P0LJLdhzi4mq4IXf6VzvczV8AF5pbS8= 3. Parent in importing root : https://play.vuejs.org/#eNpdjt0KwjAMhV8l9GY30iLqjdSB7zEQqREnri1NNnRj727W4e9dknO+czKofYy6a1FtlSWX6shAyG0sK183MSSGAR4wwjmFBgptXJCrR89knL5SUXlrZk4IWRibeDsyygZgL8tyyPxojcyT+cugFuovTr54t/afVm1Ocxfes+iCJ5bYHfQ5ZVIF/VF7UYvMU3IvXryHDhPVwYt/pTd6vVHjEyvHV7s= Actual 1. Preview fails with . 2. When also exists, compiles to and silently renders instead of . 3. With , the statement is left untouched in , is not compiled, and the preview stays blank ( emits , and throws ). Expected Relative specifiers ( and , including re-exports and dynamic ) resolve against the directory of the importing and normalize and , so in resolves to and resolves to . Cause In , rewrites local specifiers with without using 's directory, and only checks for , , and dynamic . Versions and (), (verified on , in Chromium 156, and Node v26.13.0). Credit: https://ucsbplse.github.io/

trackoor · 1d ago
Structured data for AI agents

Repository: vuejs/repl. Description: Vue SFC REPL as a Vue 3 component Stars: 1097, Forks: 222. Primary language: TypeScript. Languages: TypeScript (57.9%), Vue (27.1%), HTML (7.7%), CSS (6.2%), JavaScript (1.1%). License: MIT. Homepage: https://repl-vuejs.vercel.app Latest release: v4.7.2 (7mo ago). Open PRs: 26, open issues: 29. Last activity: 16h ago. Community health: 37%. Top contributors: yyx990803, sxzz, johnsoncodehk, renovate[bot], edison1105, btea, Kingwl, wangcch, pdanpdan, skirtles-code and others.