How to setup ASP.NET Core + Vue.Js ?

How to setup ASP.NET Core + Vue.Js ?

Asked on November 22, 2018 in vue.js.
Add Comment

  • 1 Answer(s)

    For .Net Core, there is an template, which helps you to build in a one command. In Windows box, .Net core was installed and generate an empty folder and run command in that folder and then show list of accessible templates.

    dotnet new

    If there are no entire templates, run the below code to install SPA templates:

    dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

    And this to support a new Vue app:

    dotnet new vue

    You can build entire new vue.js one page web app in seconds with .Net core as backend using controllers and views. Now open your project as VS or VS code.

    Angular performs server-side pre-interpretation out of box.

    Answered on November 22, 2018.
    Add Comment

  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.