Skip to content

Commit a6d4bf9

Browse files
committed
2.5.0
1 parent 9548ff6 commit a6d4bf9

File tree

4 files changed

+28
-11
lines changed

4 files changed

+28
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Live Demo & Documentation: https://fritx.github.io/vue-at
1313
- [x] Content-Editable / Textarea
1414
- [x] Avatars, custom templates
1515
- [x] Vue3 / Vue2 / Vue1
16-
- [x] Vuetify / Element-UI / Element-Plus
17-
- [ ] Vue-CLI 3 migration
18-
- [ ] Vite Migration
16+
- [x] Vuetify / Element UI / Element Plus
17+
- [ ] Vue-CLI migration
18+
- [ ] Vite migration
1919

2020
See also: [react-at](https://github.com/fritx/react-at)
2121

@@ -29,10 +29,10 @@ See also: [react-at](https://github.com/fritx/react-at)
2929

3030
Finally I ended up creating this.
3131

32-
for Vue3, read [this](https://github.com/fritx/vue-at/tree/wip-vue3) instead.
32+
for Vue3, read [this one](https://github.com/fritx/vue-at/tree/vue3#readme) instead.
3333

3434
```plain
35-
npm i vue-at@3.x # for Vue3 (branch wip-vue3)
35+
npm i vue-at@next # for Vue3 (branch wip-vue3)
3636
3737
npm i vue-at@2.x # for Vue2 <----
3838
npm i vue-at@1.x # for Vue1 (branch vue1-legacy)

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-at",
33
"description": "At.js for Vue",
4-
"version": "2.5.0-beta.2",
4+
"version": "2.5.0",
55
"author": "Fritz Lin <uxfritz@163.com>",
66
"repository": "https://github.com/fritx/vue-at",
77
"scripts": {
@@ -11,8 +11,11 @@
1111
"prepublish": "npm run build"
1212
},
1313
"main": "dist/vue-at.js",
14+
"files": [
15+
"dist"
16+
],
1417
"engines": {
15-
"node": "14.x"
18+
"node": ">= 14.x"
1619
},
1720
"peerDependencies": {
1821
"vue": "2.x"
@@ -49,6 +52,7 @@
4952
"textarea-caret": "^3.1.0",
5053
"url-loader": "^4.1.1",
5154
"vue": "^2.7.8",
55+
"vue-hot-reload-api": "^2.3.4",
5256
"vue-loader": "^14.2.4",
5357
"vue-style-loader": "^4.1.3",
5458
"vue-template-compiler": "^2.7.8",

src/App.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,21 @@
6868
</template>
6969

7070
<script>
71-
// import At from 'vue-at'
72-
// import At from '../dist/vue-at'
73-
// import AtTa from '../dist/vue-at-textarea'
7471
import At from './At.vue'
7572
import AtTa from './AtTextarea.vue'
7673
74+
// testing dist
75+
// import At from '../dist/vue-at'
76+
// import AtTa from '../dist/vue-at-textarea'
77+
78+
// testing npm_pack
79+
// import At from '../package/dist/vue-at'
80+
// import AtTa from '../package/dist/vue-at-textarea'
81+
82+
// testing node_modules
83+
// import At from 'vue-at'
84+
// import AtTa from 'vue-at/dist/vue-at-textarea'
85+
7786
let members = [
7887
/* eslint-disable */
7988
"Roxie Miles","grace.carroll",

webpack/base.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ module.exports = {
2727
{
2828
test: /\.js$/,
2929
use: ['babel-loader'],
30-
exclude: [/node_modules/, path.resolve(__dirname, '../dist')]
30+
exclude: [
31+
/node_modules/,
32+
path.resolve(__dirname, '../dist'),
33+
path.resolve(__dirname, '../package'),
34+
]
3135
},
3236
{
3337
test: /\.css$/,

0 commit comments

Comments
 (0)