mtm9999 / template.mvc-vue-spa.auth

C# template ASP.NET Core MVC SPA project with authorization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full Featured SPA Template

This project is for a dotnet template that installs an ASP.NET Core 2.0 MVC SPA using Vue as the client framework. The project also implements a simple Authentication and Authorization system secured by JWT.

The application also uses the following client-side packages:

Development includes the following features:

  • ASP.NET Core support for webpack hot swappable modules
  • Eslint for client code checks (NOTE: If you are having trouble running try npm -g i eslint-cli)
  • JsHint config if your editor supports it

Publish template:

> package.bat
> nuget push jeffb.template.MvcVueSpa.Auth.<vers>.nupkg -ApiKey <key> -Source https://api.nuget.org/v3/index.json

Install template: **

> dotnet new -i jeffb.template.MvcVueSpa.Auth

Uninstall template: **

> dotnet new -u jeffb.template.MvcVueSpa.Auth

If there are problems reinstalling, run

> dotnet new --debug:reinit

VSCode Configuration

Make sure the following extensions are installed:

  • Beautify
  • ESLint
  • jshint
  • npm
  • npm intellisense
  • prettier
  • vetur
  • vue.js Extension pack

About

C# template ASP.NET Core MVC SPA project with authorization

License:MIT License


Languages

Language:C# 39.0%Language:Vue 31.7%Language:JavaScript 24.4%Language:HTML 2.9%Language:Batchfile 1.1%Language:CSS 0.9%