0.0.13 • Published 2 years ago

trs-code-editor v0.0.13

Weekly downloads
-
License
-
Repository
-
Last release
2 years 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

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago