From a6d4bf9d84671d1269e68394f909810a48e44244 Mon Sep 17 00:00:00 2001 From: Fritz Lin Date: Wed, 10 Aug 2022 22:03:57 +0800 Subject: [PATCH] 2.5.0 --- README.md | 10 +++++----- package.json | 8 ++++++-- src/App.vue | 15 ++++++++++++--- webpack/base.js | 6 +++++- 4 files changed, 28 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 33abd4d..50db045 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ Live Demo & Documentation: https://fritx.github.io/vue-at - [x] Content-Editable / Textarea - [x] Avatars, custom templates - [x] Vue3 / Vue2 / Vue1 -- [x] Vuetify / Element-UI / Element-Plus -- [ ] Vue-CLI 3 migration -- [ ] Vite Migration +- [x] Vuetify / Element UI / Element Plus +- [ ] Vue-CLI migration +- [ ] Vite migration See also: [react-at](https://github.com/fritx/react-at) @@ -29,10 +29,10 @@ See also: [react-at](https://github.com/fritx/react-at) Finally I ended up creating this. -for Vue3, read [this](https://github.com/fritx/vue-at/tree/wip-vue3) instead. +for Vue3, read [this one](https://github.com/fritx/vue-at/tree/vue3#readme) instead. ```plain -npm i vue-at@3.x # for Vue3 (branch wip-vue3) +npm i vue-at@next # for Vue3 (branch wip-vue3) npm i vue-at@2.x # for Vue2 <---- npm i vue-at@1.x # for Vue1 (branch vue1-legacy) diff --git a/package.json b/package.json index b031267..f7c3c0b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-at", "description": "At.js for Vue", - "version": "2.5.0-beta.2", + "version": "2.5.0", "author": "Fritz Lin ", "repository": "https://github.com/fritx/vue-at", "scripts": { @@ -11,8 +11,11 @@ "prepublish": "npm run build" }, "main": "dist/vue-at.js", + "files": [ + "dist" + ], "engines": { - "node": "14.x" + "node": ">= 14.x" }, "peerDependencies": { "vue": "2.x" @@ -49,6 +52,7 @@ "textarea-caret": "^3.1.0", "url-loader": "^4.1.1", "vue": "^2.7.8", + "vue-hot-reload-api": "^2.3.4", "vue-loader": "^14.2.4", "vue-style-loader": "^4.1.3", "vue-template-compiler": "^2.7.8", diff --git a/src/App.vue b/src/App.vue index ebc0efb..d398abd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -68,12 +68,21 @@