Skip to content

Commit 6ec52f0

Browse files
committed
Release: v0.1.0
1 parent 2956f00 commit 6ec52f0

File tree

3 files changed

+18
-33
lines changed

3 files changed

+18
-33
lines changed

package.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-highlight-code",
33
"private": false,
4-
"version": "0.0.5",
4+
"version": "0.1.0",
55
"license": "MIT",
66
"main": "./dist/vue3-highlight.umd.js",
77
"module": "./dist/vue3-highlight.es.js",
@@ -19,13 +19,24 @@
1919
},
2020
"dependencies": {
2121
"highlight.js": "^11.5.1",
22-
"vue": "^3.2.25",
23-
"vue-highlight-code": "^0.0.3"
22+
"vue": "^3.2.25"
2423
},
2524
"devDependencies": {
2625
"@vitejs/plugin-vue": "^2.3.3",
2726
"sass": "^1.26.5",
2827
"sass-loader": "^8.0.2",
2928
"vite": "^2.9.9"
30-
}
29+
},
30+
"repository": {
31+
"type": "git",
32+
"url": "https://github.com/F-one-1/vue-highlight-code.git"
33+
},
34+
"homepage": "https://github.com/F-one-1/vue-highlight-code",
35+
"keywords": [
36+
"highlight",
37+
"vue3",
38+
"component",
39+
"vue",
40+
"highlight.js"
41+
]
3142
}

src/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
// This starter template is using Vue 3 <script setup> SFCs
33
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
44
import HelloWorld from './components/HelloWorld.vue'
5-
import {HighCode} from 'vue-highlight-code'
6-
import 'vue-highlight-code/dist/style.css'
5+
import HighCode from './components/HighCode.vue'
6+
// import 'vue-highlight-code/dist/style.css'
77
const value = `import { HighCode } from 'vue-highlight-code';
88
import 'vue-highlight-code/dist/style.css';
99
export default {
1010
components: {
1111
HighCode
1212
},
1313
data(){
14-
14+
1515
}
1616
}`
1717
const light = 'light'

yarn.lock

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -598,32 +598,6 @@ vite@^2.9.9:
598598
optionalDependencies:
599599
fsevents "~2.3.2"
600600

601-
vue-highlight-code@^0.0.1:
602-
version "0.0.1"
603-
resolved "https://registry.npmjs.org/vue-highlight-code/-/vue-highlight-code-0.0.1.tgz#c9144bca640c67fa69d3995f186f0991155e7c32"
604-
integrity sha512-neL6lqPvRTzs7Cb6qulB3M+8o18PaGDXg2oiSVTjR7TmRz6PY5056AkF/MHdfHplOsRGWq/ggXwtxtYDGhG58g==
605-
dependencies:
606-
highlight.js "^11.5.1"
607-
vue "^3.2.25"
608-
609-
vue-highlight-code@^0.0.2:
610-
version "0.0.2"
611-
resolved "https://registry.npmjs.org/vue-highlight-code/-/vue-highlight-code-0.0.2.tgz#701ead3d331cd8401f53dc4743aeb515571200ed"
612-
integrity sha512-7ILn6GX0j8tx0LYRjeaxnYGQHRAsbMzWdDyocvVyIeMWITs7l+OizqokJG5hZLTV4uxGEELWpo7rtY91xTOmpA==
613-
dependencies:
614-
highlight.js "^11.5.1"
615-
vue "^3.2.25"
616-
vue-highlight-code "^0.0.1"
617-
618-
vue-highlight-code@^0.0.3:
619-
version "0.0.3"
620-
resolved "https://registry.npmjs.org/vue-highlight-code/-/vue-highlight-code-0.0.3.tgz#ad924131b7f8f7cfb7337b6db65165ec88597086"
621-
integrity sha512-KV0JYNlfQ3fVJHUuRNvmEofwe76xfREtpABrjc6iGSz2z9i8HjcqrzYCILeryrbDOaQ7xV8KndBCZkQyxRsjfQ==
622-
dependencies:
623-
highlight.js "^11.5.1"
624-
vue "^3.2.25"
625-
vue-highlight-code "^0.0.2"
626-
627601
vue@^3.2.25:
628602
version "3.2.33"
629603
resolved "https://registry.npmmirror.com/vue/-/vue-3.2.33.tgz#7867eb16a3293a28c4d190a837bc447878bd64c2"

0 commit comments

Comments
 (0)