@yannelli/live-markdown-vue 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -15,8 +15,8 @@ npm install @yannelli/live-markdown-vue
15
15
  ```vue
16
16
  <script setup>
17
17
  import { ref } from 'vue'
18
- import { MarkdownEditor } from 'live-markdown-vue'
19
- import 'live-markdown-vue/style.css'
18
+ import { MarkdownEditor } from '@yannelli/live-markdown-vue'
19
+ import '@yannelli/live-markdown-vue/style.css'
20
20
 
21
21
  const content = ref('')
22
22
  </script>
@@ -31,8 +31,8 @@ const content = ref('')
31
31
  ```vue
32
32
  <script setup>
33
33
  import { ref } from 'vue'
34
- import { MarkdownEditor } from 'live-markdown-vue'
35
- import 'live-markdown-vue/style.css'
34
+ import { MarkdownEditor } from '@yannelli/live-markdown-vue'
35
+ import '@yannelli/live-markdown-vue/style.css'
36
36
 
37
37
  const content = ref('# Hello World')
38
38
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@yannelli/live-markdown-vue",
3
3
  "author": "Ryan Yannelli <ryanyannelli@gmail.com> (https://ryanyannelli.com)",
4
4
  "homepage": "https://github.com/yannelli/live-markdown-vue",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "description": "A Vue 3 markdown editor component with live preview, built as a drop-in replacement for textarea",
7
7
  "type": "module",
8
8
  "main": "./dist/live-markdown-vue.umd.cjs",
@@ -10,9 +10,9 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
+ "types": "./dist/index.d.ts",
13
14
  "import": "./dist/live-markdown-vue.js",
14
- "require": "./dist/live-markdown-vue.umd.cjs",
15
- "types": "./dist/index.d.ts"
15
+ "require": "./dist/live-markdown-vue.umd.cjs"
16
16
  },
17
17
  "./style.css": "./dist/style.css"
18
18
  },