locked
Using MVC.NET with VUE Single File Components RRS feed

  • Question

  • I'm looking for a resource that discusses using a VUE SFC in a legacy .net application. 

    Many of the articles go into installing and using VUE CLI in the mvc project. 

    But my manager wants to avoid changing the .net mvc application as much as possible.
    The ideal method he wants is to:
    1. Build VUE Components in a separate project using vue-cli and vs code. 
    2. Package them up and and use the the dist content in a MVC app.  ( https://github.com/KevinCocquyt39/mvc-vue-webpack4 )
    3. In the MVC application I need to use these "compiled" components with as little modification to the project... 
          3.A  This article shows how to add vue cli to a mvc project and build the components in it, not exactly what we want.
          Link:  https://dev-squared.com/2019/06/14/using-vue-cli-to-add-vue-to-existing-aspnet-web-apps/

    So I am looking for a resource to learn the process and most are incomplete or lack details..Any suggestions?


    Warren C. LaFrance, Jr. Developer Hayes Software Systems www.hayessoft.com

    • Moved by CoolDadTx Thursday, April 30, 2020 1:08 PM ASP.NET related
    Wednesday, April 29, 2020 2:45 PM

All replies

  • ASP.NET MVC can be discussed at the MVC forum in ASP.NET forums.

    http://forums.asp.net/

    Wednesday, April 29, 2020 3:05 PM