vue-running
TypeScript icon, indicating that this package has built-in type declarations

0.3.5 • Public • Published

running Vue3 file online

This project fork from vuejs/repl.

English | 简体中文

Why?

When you need to demonstrate vue components/effects, need the ability to preview online. Unlike sfc, it can be embedded into components and supports ui library introduction.

Install

npm i vue-running

Usage

<script setup>
import vueRunning from 'vue-running'
</script>

Options

  • codeMirrorOption:

    codeMirror options, please see CodeMirror

  • depLibs:

    dependencies

    interface depLibsType {
      name: string; // ui library name
      url?: string; // url to library
      code?: string; // code to import
      type: 'js' | 'css'; // js or css. 
    }

layout:

layout 'horizontal' | 'vertical';

/vue-running/

    Package Sidebar

    Install

    npm i vue-running

    Weekly Downloads

    1

    Version

    0.3.5

    License

    MIT

    Unpacked Size

    3.22 MB

    Total Files

    9

    Last publish

    Collaborators

    • estjs