AspNetCore.Vue.TypeScript.Template 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install AspNetCore.Vue.TypeScript.Template::0.1.0                
This package contains a .NET Template Package you can call from the shell/command line.

ASP.NET Core Vue.js with TypeScript template

The repository contains template using Vue.js, Vuex, TypeScript and Bulma. It integrates Vue into AspNetCore MVC and showcases how to use Vue with .NET as a multipage (multiple mini SPA's) application. The template can also be used as a complete single page application but you should consider using Vue cli for this as it is a more flexible and advanced solution.


Github

See more details and how to contribute on Github

Features

  • ASP NET Core 2.1
  • Vue.js
  • Vuex
  • TypeScript
  • Bulma
  • Sass
  • Webpack 4

Prerequisites

Installation

In order to create a new project from this template, you must first install it.

  • Install the template from nuget by running the following command:
dotnet new -i AspNetCore.Vue.TypeScript.Template

If successful, you should see the new template in your template list ASP.NET Core with Vue, Vuex and TypeScript

Creating a new project

To create a new project run dotnet new vuetypescript command and provide the name of your project as the -n or --name parameter. If name is not provided, name of the current folder will be used.

Example

dotnet new vuetypescript --name TestProject.Web

Running newly created project

In order to run your application, you can just start it from the Visual Studio or by running dotnet run command from the console.

NOTE: When starting the application for the first time, the build might take some time because it will install required npm packages.

Development, publishing and available commands

Template features the following commands

  • npm run dev - Builds front end in development mode and watches for any changes made to the files.
  • npm run build:dev - Builds front end in development mode.
  • npm run build:prod - Builds front end in production mode.
  • npm run test - Runs tests under tests folder and generates code coverage report.
  • npm run publish - Builds production optimized front-end packages and publishes the application in release mode.

Licence

MIT License

Copyright (c) 2018-Present Danijel Hrček

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 4,898 9/26/2020
1.0.1 3,189 5/25/2019
1.0.0 2,509 3/11/2019
0.3.1 2,660 1/29/2019
0.3.0 2,326 1/24/2019
0.2.0 2,544 12/2/2018
0.1.0 2,599 11/7/2018

Initial release