Is there a way to use VueJs Framework under Magento 2 ?


2 Answers 2


Their is a way to integrate VueJs in you custom module.

You should do as follows:

  1. Copy all content of this url insaid you custom module


  2. Configure requirejs-config.js


        var config = {
           map: {
               '*': {
                   vue: 'Custom_Module/js/vue'>             
           } };
  3. And to use it:

    ], function ($, Vue) {
        "use strict";
        // code...

Vue js is a library/framework which needs to be included. So include it and start writing some code in VueJS format.

This answer is a good summary.


That's to use it. It will not convert Magento 2.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.