fritx / vue-at

At.js for Vue.
https://fritx.github.io/vue-at/
MIT License
529 stars 114 forks source link

dist/vue-at-textarea is missing #28

Open sentiasa opened 6 years ago

sentiasa commented 6 years ago

I have just installed from npm using: npm i vue-at@1.x and npm i -S textarea-caret. However, in node_modules/vue-at/dist, I don't see vue-at-textarea, I only see index.js and index.map.js. And importing index.js doesn't work (but doesn't throw any error either).

Am i doing something wrong?

fritx commented 6 years ago

@sentiasa hey, yes, apology for the missing documentation:

The textarea feature came with vue-at@2.x, and it was not included in 1.x branch..

sentiasa commented 6 years ago

@fritx Oh that's bad not to be able to use it :(

I see you've added enhancement tag. Do you think it's early in the roadmap or should I try to find other solutions?

fritx commented 6 years ago

Oh I think it's not hard to bring textarea into 1.x branch. I'm gonna do it in couple of days once I'm free.

fritx commented 6 years ago

@sentiasa hey, sorry for the late update, you can try install vue1-at insread.

Just merged with 2.x branch and publish as a new npm entry due to some breaking changes, rather than the legacy vue-at@1.x.

sentiasa commented 6 years ago

@fritx Great, thanks! I made it work!

I have couple of questions regarding this:

Thanks again.

fritx commented 6 years ago

@sentiasa nice.

For question 1, as @youyi1314 said, you find more in docs: https://fritx.github.io/vue-at/#/en/customtemplates

For question 2, might have not been supported yet, you have to parse the text yourself. Would be good to support your request. Anything I'm missing?

sentiasa commented 6 years ago

@fritx yes, that answers all. For the question 2, I handled it manually but that'd be nice to have this ability.