Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Vue JS 3.0 with .NET 5 Web API
Vue JS 3.0 with .NET 5 Web API

Vue JS 3.0 with .NET 5 Web API

Alexandre Malavasi

|
16,482 installs
| (11) | Free
Project Template For Asp.Net Core 5 Web API and Vue JS 3, including examples for API calls, Vue Routers, Components and Bootstrap CSS.
Download

Visual Studio project template for Vue JS 3.0 and Asp.Net Core 5.0 Web API applications

Prerequisites

  • Node JS must be installed in the environment in order to run npm commands
  • Visual Studio 2019 16.8 or superior
  • .NET 5 SDK

Usage

After the installation, a new project type will be available on Visual Studio. Choose the option to create a new project and search template by name:

1.png

The structure of the project looks like the image below, having the following items:

ClientApp folder ClientApp folder with the Vue JS 3.0 application, including:

  1. Counter, Fetch Data, Nav Menu and Home components
  2. Vue Router and Axios installed (Vue JS 3.0 version)
  3. Router folder

Asp.Net Core 5.0 Web API

API Controller with Forecast API presented on the standard underlying project.

image__1.png

All the extra needed settings on Asp.Net Core Startup file were already made as well on Startup.cs, including the mandatory packages for Vue JS SPA Middleware:

image__2.png

image__3.png

Run the project After creating the project, the only thing that you need to do is running it. If the node packages are not installed yet, the application will run npm install under the folder “ClientApp”, as seen in the following image:

image__4.png

After the installation of all npm packages, the application will start as it follows:

image__5.png

image__6.png

image__7.png

More information on: https://medium.com/js-dojo/template-vue-js-3-0-asp-net-core-5-0-visual-studio-2019-a18dd43b076b

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft