0.0.13 • Published 1 year ago

trs-code-editor v0.0.13

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

trs-code-editor

安装

$ npm i -S trs-code-editor@latest

使用

<script lang="ts" setup>
   import { TrsCodeEditor } from 'trs-code-editor'; // 引入资源
   import 'trs-code-editor/dist/style.css'; // 引入样式资源
   const jsonStr = ref('');
   const update = newCode => {
      // newCode 为编辑器中最新的代码字符串
   }
</script>

<template>
   <TrsCodeEditor
      :code-str="jsonStr"
      :default-value="jsonStr"
      @update="update">
   </TrsCodeEditor>
</template>
0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago