• Stars
    star
    1,216
  • Rank 38,545 (Top 0.8 %)
  • Language Vue
  • License
    MIT License
  • Created almost 8 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

*NEW* Asp.net Core & Vue.js (ES6) SPA Starter kit - Vuex, webpack, Web API, Docker, and more! By @TrilonIO

ASP.NET Core & Vue.js Starter

Starter Template for ASP.NET Core and Vue.JS (Vue) - with Webpack (with HMR), Web API, Vuex state manangement and other best-practices baked in!

Written in ES6, TypeScript version coming soon!

Nuget Nuget Downloads MIT License



Trilon.io - Angular Universal, NestJS, JavaScript Application Consulting Development and Training

Made with ❀️ by Trilon.io


Table of Contents

Features

  • ASP.NET Core 2.2
    • Web API
  • VueJS 2
    • Vuex (State Store)
  • Webpack
    • HMR (Hot Module Replacement/Reloading)
  • Bootstrap 4

Prerequisites:

Installation:

Nuget | Dotnet Templates

Find the template through NuGet package manager inside Visual Studio or here

Or download it via dotnet templates

// Make a directory where you want the project
mkdir my-vue-starter && cd my-vue-starter

// Download the dotnet template
dotnet new -i aspnetcore-vuejs

// Run and install the template
dotnet new vuejs

// Make sure you install the dependencies
npm install

Now you can open the project via Visual Studio or VSCode, press F5 to run the application!

Note:

  • This will automatically run dotnet restore unless you install with dotnet new vuejs --skipRestore
  • (Official documentation)
    • This will automatically run dotnet restore unless you install with dotnet new vuejs --skipRestore

-OR- Clone this Repo itself

  • Clone this repository : $ git clone https://github.com/MarkPieszak/aspnetcore-Vue-starter.git VueWeb
  • $ cd VueWeb/content
  • $ dotnet restore && npm install
  • (If using VSCode) $ code .
  • (If using Visual Studio) Open the *.sln file with "Open project" from Visual Studio IDE

Start the application:

You have two choices when it come at how your preffer to run it. You can either use the command line or the build-in run command.

1. Using the command line

Run the application using npm run dev.

2. Using the built-in run command

Run the application in VSCode or Visual Studio 2017 by hitting F5.

View your application running

When running the app using debug menu or F5 VS open auto the app in the browser;


Demo of Application Running


Recommended plugin for debugging VueJS

  • Get Chrome DevTools for VueJS here

Found a Bug? Want to Contribute?

Nothing's ever perfect, but please let me know by creating an issue (make sure there isn't an existing one about it already), and we'll try and work out a fix for it! If you have any good ideas, or want to contribute, feel free to either make an Issue with the Proposal, or just make a PR from your Fork. Please note that this project is released with a Contributor Covenant Code of Conduct. By participating in this project you agree to abide by its terms.


Looking for ASP.NET Core & Angular 7.x+ Universal starter? click here


License

MIT License

Copyright (c) 2016-2019 Mark Pieszak

Twitter Follow


Trilon - Vue, Asp.NET, NodeJS - Consulting | Training | Development

Check out Trilon.io for more info!

Contact us at [email protected], and let's talk about your projects needs.

Trilon.io - Angular Universal, NestJS, JavaScript Application Consulting Development and Training

Follow Trilon online:

Twitter: @Trilon_io

More Repositories

1

aspnetcore-angular-universal

ASP.NET Core & Angular Universal advanced starter - PWA w/ server-side rendering for SEO, Bootstrap, i18n internationalization, TypeScript, unit testing, WebAPI REST setup, SignalR, Swagger docs, and more! By @TrilonIO
TypeScript
1,458
star
2

universal-nest

Nest + Angular Universal = ❀️ by @TrilonIO
TypeScript
297
star
3

angular-application-insights

Angular & Azure Application Insights module - Find out performance and usage of your app by connecting Microsoft Azure Application insights with your Angular application by @TrilonIO
TypeScript
135
star
4

ng-universal

Angular Universal & SEO Utilities/Helpers - Brought to you by Trilon
TypeScript
42
star
5

zeit-now-nestjs

Deploy NestJS to Zeit Now
TypeScript
29
star
6

nest-data-source-agnostic

Example repository where we implement data source agnostic services with NestJS.
TypeScript
23
star
7

nestjs-azure-functions

Deploying serverless NestJS to Azure Functions demo
TypeScript
23
star
8

nest-tdd

An example of how to use TDD with NestJS
TypeScript
22
star
9

angular-universal-v9

What's new with Angular Universal v9
TypeScript
18
star
10

nest-vitest

A minimalist example on how to use vitest with nest
TypeScript
16
star
11

eslint-plugin

Official Trilon ESLint Plugin for NestJS
TypeScript
10
star
12

websockets-with-subjects-nestjs

A repository to show off how to use websockets with RxJS subjects for dynamic events in NestJS
TypeScript
10
star
13

angular-universal-tutorial

Google web.dev companion Repo: Angular Universal (SSR) Tutorial for Dyamic & Static pre-rendering
TypeScript
6
star
14

aspect-oriented-programming

TypeScript
5
star
15

file-upload-via-tcp

TypeScript
1
star