aspnetcore-vuejs
1.0.2
See the version list below for details.
dotnet new install aspnetcore-vuejs::1.0.2
Asp.NETCore 2.1 Vue 2 Starter - by DevHelp.Online
This repo contains an ASP.NET Core + Vue.js 2 starter template (VS2017 or command line). The template is based on the original starter templates (Angular, Knockout, React, Aurelia), which can be found here
Looking for ASP.NET Core & Angular 6.x+ Universal starter? click here
Table of Contents
- Features
- Prerequisites
- Installation
- Getting Started
- Extras
- Special Thanks
- License
- Social Media
- VueJS & ASP.NET Consulting & training
Features
- ASP.NET Core 2.1
- Web API
- VueJS 2
- Vuex (State Store)
- Webpack
- HMR (Hot Module Replacement/Reloading)
- Bootstrap 4
Prerequisites:
- .Net Core 2.1
- NodeJS >= 8.9.4
- VSCode (ideally), or VS2017
Installation:
- Install the template from nuget:
dotnet new -i aspnetcore-vuejs
Getting Started:
- Create folder from template:
dotnet new vuejs
(Official documentation)- This will automatically run
dotnet restore
unless you install withdotnet new vuejs --skipRestore
- This will automatically run
- Restore Node dependencies by running
npm install
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 dotnet run
or npm run dev
- note
dotnet run
should be run inDevelopment
environment for hot reloading. This setting can be set either within the command line or via thelaunchSettings.json
available in theProperties
folder.
2. Using the built-in run command
Run the application in VSCode or Visual Studio 2017 by hitting F5
.
View your application running
Browse to http://localhost:5000
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.
Special Thanks
Many thanks go out to Steve Sanderson (@SteveSandersonMS) from Microsoft and his amazing work on JavaScriptServices and integrating the world of Node with ASP.NET Core.
Also, a million thanks to key Contributors !
License
Copyright (c) 2016-2018 Mark Pieszak
Follow me online:
Twitter: @MarkPieszak | Medium: @MarkPieszak
<a name="Training"/>
DevHelp.Online - VueJS & ASP.NET - Consulting | Training | Development
Check out www.DevHelp.Online for more info! Twitter @DevHelpOnline
Contact us at hello@devhelp.online, and let's talk about your projects needs.
<p align="center"> <img src="https://s3.amazonaws.com/media-p.slid.es/uploads/768119/images/4272479/Screen_Shot_2017-10-27_at_6.58.34_PM.png" alt="DevHelp.Online - Angular ASPNET JavaScript Consulting Development and Training"> </p>
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.