Author Topic: Integrating to vue js?  (Read 1758 times)

Offline diseño web Mall

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Web Deigner
    • View Profile
    • Diseño web Mallorca
Integrating to vue js?
« on: December 06, 2021, 11:18:26 AM »
Hi, is there anyone that has a front end to share made with vue js?

if not, how could the correct aproach be?

Thanks in advace

Offline dvagner

  • Core/UI Developer
  • Jr. Member
  • **
  • Posts: 73
  • Karma: +28/-1
    • View Profile
Re: Integrating to vue js?
« Reply #1 on: December 07, 2021, 02:23:08 AM »
Yes I have.

Here 2 ways:
1. Import as JS library in template files. See https://vuejs.org/v2/guide/installation.html
2. Build your component and then pack it with webpack (or other tools), and then import it as external script.

Both approaches work and have their pros and cons

Offline diseño web Mall

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Web Deigner
    • View Profile
    • Diseño web Mallorca
Re: Integrating to vue js?
« Reply #2 on: December 13, 2021, 04:33:36 PM »
Thanks, but I would use jquery but I would give a try.

 

Powered by SMFPacks Social Login Mod