Create a sample ASP core application with vue.js in visual studio

By default visual studio 2017 does not have a Vue template to create a project, But this is not a big deal we can add the template and create the project from command line interface by following the below steps.

  1. Create a folder/directory, where you want to create your project.
  2. Open command line interface and navigate to the newly create folder.
  3. Install template.
    dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
  4. Create a project from template.
    dotnet new vue (For typescript)
    dotnet new vuejs(For javascript)
  5. Install the dependencies.
    npm install
  6. Open the folder and double click the .csproj file in visual studio.
  7. Press F5 to run the project.

Comments

Popular posts from this blog

How to generate PDF file for transaction record against its specific form template in SuiteScript 2.0