Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Tagify support Vue3 and to what extent? #1230

Open
3 tasks done
trickMin opened this issue Aug 11, 2023 · 3 comments
Open
3 tasks done

Does Tagify support Vue3 and to what extent? #1230

trickMin opened this issue Aug 11, 2023 · 3 comments
Labels

Comments

@trickMin
Copy link

trickMin commented Aug 11, 2023

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

I am considering using a tag input box component for development in Vue3 and found that Tagify meets my expectations. The documentation mentions support for Vue, but it doesn't specify whether it fully supports Vue3. Does Tagify fully support Vue3? Are there any specific requirements for Vue3 version support, such as version requirements or component limitations?

@trickMin
Copy link
Author

I'm trying to import the latest version of tagify via npm in my Vue 3 project but I'm getting an error (I noticed a related issue in closed status, but my project doesn't have a dependency on gulp-terser and I'm using the latest version of tagify).

Here's the import statement:

import Tagify from '@yaireo/tagify'

Here's the error message:

./node_modules/@yaireo/tagify/dist/tagify.min.js 26:8981 Module parse failed: Unexpected token (26:8981) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | */ | > !function(t,e)

@yairEO
Copy link
Owner

yairEO commented Aug 17, 2023

Well, I don't know Vue anymore... I used to know a bit, a few years ago but forgot completely.

Back when I knew it, I somehow scrapped a solution to support Vue, but I think you don't really
need much for Vue at all, since you can initialize Tagify on your own within your Vue component

@yairEO
Copy link
Owner

yairEO commented Aug 17, 2023

Why would you need a dependency for gulp-terser?

It's an internal package which generates the output from Tagify's source-code.

How did you even get this error? what were the steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants