Coder Social home page Coder Social logo

how to use with vue 3 about vue-cryptojs HOT 5 CLOSED

tpenaranda avatar tpenaranda commented on August 23, 2024
how to use with vue 3

from vue-cryptojs.

Comments (5)

tpenaranda avatar tpenaranda commented on August 23, 2024 2

hey @mrushdi81 @matteusbatterie thanks for your input! currently vue-cryptojs doesn't support Vue3 but I'm working right now in order to add support, I'll keep you posted, thanks!

from vue-cryptojs.

tpenaranda avatar tpenaranda commented on August 23, 2024 2

@mrushdi81 @matteusbatterie Issue solved on https://github.com/tpenaranda/vue-cryptojs/releases/tag/v2.2.0 version.
npm package https://www.npmjs.com/package/vue-cryptojs and readme file updated with Vue3 install procedure. Thanks!

from vue-cryptojs.

matteusbatterie avatar matteusbatterie commented on August 23, 2024 1

@mrushdi81 I still couldn't figure out how to use vue-cryptojs specifically but I managed to solve my problem by implementing an util class and import regular CryptoJS in it. This class would function merely as a facade to Crypto's cryptography methods, that way I can import my class within my components with ease.

from vue-cryptojs.

MicaelaGuimaraes avatar MicaelaGuimaraes commented on August 23, 2024

@mrushdi81 were you able to use npm in your project?

from vue-cryptojs.

matteusbatterie avatar matteusbatterie commented on August 23, 2024

Cheers! I'm very fond that you replied and solved it with such agility, great job!

I retried and implemented it again on my component and it works just fine.

PS: Just a little of feedback, including in the Vue3 usage example how to use the cryptojs wouldn't hurt :p, although it is implied that you can use the same way you do with Vue2 but replacing the this.$CryptoJS instance. Other than that, amazing work, thanks!

from vue-cryptojs.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.