0.3.5 • Published 3 years ago

vue-running v0.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

running Vue3 file online

This project fork from vuejs/repl.

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 
    ```typescript
    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';

0.2.17

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.10

3 years ago

0.2.1

3 years ago

0.1.2

3 years ago

0.2.0

3 years ago

0.2.7

3 years ago

0.3.5

3 years ago

0.2.6

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.3.2

3 years ago

0.2.2

3 years ago

0.1.3

3 years ago

0.3.4

3 years ago

0.2.5

3 years ago

0.3.3

3 years ago

0.2.4

3 years ago

0.1.0

3 years ago

0.0.8

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago