You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure Vue's compilerOptions.isCustomElement for that tag and register on the client. Importing /manual alone registers no elements and is SSR-safe. The default entry still automatically registers r-preview for existing applications.
For the custom WASM/renderer address mentioned in the issue body, set baseUrl to your complete document editor page, including its own WASM, editor scripts, fonts and other static assets. It is not a URL to an individual WASM binary.
Activity
chaxus commentedon Jul 28, 2025
配置什么自定义地址,指的是预览服务的地址吗?这个是可以的。如果是想不注册成 web-components 使用的话,可以使用源码里面的方法,自定义挂载元素进行预览。
chaxus commentedon Oct 19, 2026
Implemented in 0.2.0 via PR #9.
For explicit registration, import the passive entry rather than the default entry:
Configure Vue's
compilerOptions.isCustomElementfor that tag and register on the client. Importing/manualalone registers no elements and is SSR-safe. The default entry still automatically registersr-previewfor existing applications.For the custom WASM/renderer address mentioned in the issue body, set
baseUrlto your complete document editor page, including its own WASM, editor scripts, fonts and other static assets. It is not a URL to an individual WASM binary.Examples and deployment boundaries: README, Chinese README.