File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 2.0.0
2+
3+ - Vue 3.x support
4+ - TypeScript
5+
16## 1.0.1
27
38- Publishing 1.0 was weird, just wanting to make sure the correct code was on NPM.
Original file line number Diff line number Diff line change 1- # Highlight.js plugin for Vue.js v2
1+ # Highlight.js plugin for Vue.js
22
3- [ ![ latest version] ( https://badgen.net/npm/v/@highlightjs/vue-plugin?label=latest )] ( https://www.npmjs.com/package/@highlightjs/vue-plugin )
3+ [ ![ latest version] ( https://badgen.net/npm/v/@highlightjs/vue-plugin/latest?label=latest )] ( https://www.npmjs.com/package/@highlightjs/vue-plugin )
4+ [ ![ latest version] ( https://badgen.net/npm/v/@highlightjs/vue-plugin/next?label=next )] ( https://www.npmjs.com/package/@highlightjs/vue-plugin )
5+ ![ vue 3] ( https://badgen.net/badge/vue/3/green )
6+ ![ vue 2] ( https://badgen.net/badge/vue/2/green )
47[ ![ license] ( https://badgen.net/github/license/highlightjs/vue-plugin?color=cyan )] ( https://github.com/highlightjs/vue-plugin/blob/main/LICENSE )
8+
59[ ![ publish size] ( https://badgen.net/packagephobia/publish/@highlightjs/vue-plugin?label=size )] ( https://packagephobia.com/result?p=@highlightjs/vue-plugin )
610[ ![ gzipped size] ( https://badgen.net/bundlephobia/minzip/@highlightjs/vue-plugin?label=gzipped )] ( https://bundlephobia.com/result?p=@highlightjs/vue-plugin )
711[ ![ slack] ( https://badgen.net/badge/icon/slack?icon=slack&label&color=pink )] ( https://join.slack.com/t/highlightjs/shared_invite/zt-mj0utgqp-TNFf4VQICnDnPg4zMHChFw )
@@ -18,6 +22,8 @@ This plugin provides a `highlightjs` component for use in your Vue.js 3 applicat
1822</div >
1923```
2024
25+ Note: For Vue.js version 2 support see the [ 1-stable] ( https://github.com/highlightjs/vue-plugin/tree/1-stable ) branch here on GitHub. The ` latest ` tag via NPM is compatible with Vue.js v2; the ` next ` tag Vue.js v3.
26+
2127## Using the pre-built libraries
2228
2329``` html
Original file line number Diff line number Diff line change 11{
22 "name" : " @highlightjs/vue-plugin" ,
3- "version" : " 1 .0.1 " ,
3+ "version" : " 2 .0.0 " ,
44 "description" : " Highlight.js Vue Plugin" ,
55 "main" : " dist/highlightjs-vue.min.js" ,
66 "module" : " dist/highlightjs-vue.esm.min.js" ,
77 "types" : " dist/highlightjs-vue.d.ts" ,
88 "scripts" : {
99 "build" : " rollup -c" ,
1010 "test" : " echo \" Error: no test specified\" && exit 1" ,
11- "publish" : " npm publish --access public"
11+ "publish" : " npm publish --access public --tag next "
1212 },
1313 "type" : " module" ,
1414 "author" : " Josh Goebel <hello@joshgoebel.com>" ,
You can’t perform that action at this time.
0 commit comments