npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codemonster-ru/vueforge-playground

v3.0.1

Published

Vue 3 playground UI adapter for the VueForge playground core runtime.

Readme

VueForge Playground

npm version npm downloads publish license

A Vue 3 UI adapter for running interactive code playground sessions in the VueForge ecosystem.

Coordinated release: @codemonster-ru/[email protected].

Requirements

  • Node.js 20 or newer for consumer tooling and SSR.
  • Vue ^3.5.0.
  • A direct @codemonster-ru/vueforge-core dependency for application theme and baseline CSS setup.

Install

npm install vue@^3.5.0 @codemonster-ru/vueforge-core@^2.0.0 @codemonster-ru/vueforge-playground
pnpm add vue@^3.5.0 @codemonster-ru/vueforge-core@^2.0.0 @codemonster-ru/vueforge-playground
yarn add vue@^3.5.0 @codemonster-ru/vueforge-core@^2.0.0 @codemonster-ru/vueforge-playground

Quick start

There is no root Playground export. Import the UI plugin from /ui and install it explicitly:

import { createApp } from 'vue';
import VueForgeCore from '@codemonster-ru/vueforge-core';
import '@codemonster-ru/vueforge-core/styles.css';
import { VfPlaygroundPlugin } from '@codemonster-ru/vueforge-playground/ui';

const app = createApp({});
app.use(VueForgeCore);
app.use(VfPlaygroundPlugin);

The browser /ui entry always loads Playground CSS. Explicit entries (style.css, tokens.css, critical.css, and playground.css) are for SSR client stylesheets and CSS-only use; they do not disable the public browser /ui auto-CSS wrapper. Load tokens.css first when composing granular CSS entries.

Lazy UI

import { VfPlaygroundAsync } from '@codemonster-ru/vueforge-playground/ui';

VfPlaygroundAsync provides async rendering and a skeleton fallback. Because /ui also exports the synchronous component and plugin, importing this wrapper from /ui does not guarantee a separate UI bundle. Dynamically import the entire /ui entry at a route or component boundary when bundle-level UI deferral is required.

The sandbox runtime remains deferred until a browser session is created. The TypeScript compiler is loaded separately only when the sandbox receives a .ts file or an inline text/typescript script. It runs in a dedicated Web Worker so compiler parsing and transpilation do not block the Playground UI. Component mode and JavaScript/HTML-only sandboxes do not download its roughly 1 MiB gzip worker.

Use /runtime only when creating sessions directly:

import { createPlaygroundSession } from '@codemonster-ru/vueforge-playground/runtime';

The package is ESM-only. SSR keeps the first render deterministic and delays iframe/session work until mount. Node ESM /ui is CSS-free; import Core and Playground styles from the client entry.

More documentation

For full documentation, visit docs.codemonster.net/vueforge/playground. See the repository installation guide and CHANGELOG.md.

License

MIT