# vue-at **Repository Path**: suniv/vue-at ## Basic Information - **Project Name**: vue-at - **Description**: At.js for Vue. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-at    Live Demo & Documentation: https://fritx.github.io/vue-at *Docs is powered by [At-UI](https://github.com/AT-UI/at-ui).* - [x] Chrome/Firefox/Edge/IE9~IE11 - [x] Plain-text based, no jQuery, no extra nodes - [x] ContentEditable/Textarea - [x] Avatars, custom templates - [x] Vue2/Vue1 See also: [react-at][react-at] ## Motivation [At.js][at.js] is awesome, but: - It is based on jQuery and jQuery-Caret. - It introduces extra node wrappers. - It could be unstable on content edit/copy/paste. Finally I ended up creating this. ```plain npm i vue-at@2.x # for Vue2 npm i vue-at@1.x # for Vue1 ``` ```vue ``` ## Textarea ```vue ``` ```plain npm i -S textarea-caret # also, for textarea ``` ## Custom Templates ```vue ``` ### Custom Templates with Vue 1.x There is no "scoped slot" feature in Vue 1.
Use a "normal slot" with `data-` attribute instead. ```vue ``` [react-at]: https://github.com/fritx/react-at [at.js]: https://github.com/ichord/At.js