Skip to content

Commit

Permalink
2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fritx committed Aug 10, 2022
1 parent 9548ff6 commit 3c55327
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -29,7 +29,7 @@ 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 [email protected] # for Vue3 (branch wip-vue3)
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"repository": "https://github.com/fritx/vue-at",
"scripts": {
Expand All @@ -11,8 +11,9 @@
"prepublish": "npm run build"
},
"main": "dist/vue-at.js",
"files": ["dist"],
"engines": {
"node": "14.x"
"node": ">= 14.x"
},
"peerDependencies": {
"vue": "2.x"
Expand Down Expand Up @@ -49,6 +50,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",
Expand Down
15 changes: 12 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,21 @@
</template>

<script>
// import At from 'vue-at'
// import At from '../dist/vue-at'
// import AtTa from '../dist/vue-at-textarea'
import At from './At.vue'
import AtTa from './AtTextarea.vue'
// testing dist
// import At from '../dist/vue-at'
// import AtTa from '../dist/vue-at-textarea'
// testing npm_pack
// import At from '../package/dist/vue-at'
// import AtTa from '../package/dist/vue-at-textarea'
// testing node_modules
// import At from 'vue-at'
// import AtTa from 'vue-at/dist/vue-at-textarea'
let members = [
/* eslint-disable */
"Roxie Miles","grace.carroll",
Expand Down
6 changes: 5 additions & 1 deletion webpack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ module.exports = {
{
test: /\.js$/,
use: ['babel-loader'],
exclude: [/node_modules/, path.resolve(__dirname, '../dist')]
exclude: [
/node_modules/,
path.resolve(__dirname, '../dist'),
path.resolve(__dirname, '../package'),
]
},
{
test: /\.css$/,
Expand Down

0 comments on commit 3c55327

Please sign in to comment.