You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[VSCode](https://code.visualstudio.com/) (ideally), or VS2017
38
49
39
50
# Installation:
40
-
* Install the template from nuget: `dotnet new -i aspnetcore-vuejs`
41
51
42
-
# Getting Started:
43
-
* Create folder from template: `dotnet new vuejs` ([Official documentation](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new?tabs=netcore2x))
52
+
### Nuget | Dotnet Templates
53
+
54
+
Find the template through NuGet package manager inside Visual Studio or [here](https://www.nuget.org/packages/aspnetcore-vuejs)
55
+
56
+
> Or download it via dotnet templates
57
+
58
+
```ts
59
+
// Make a directory where you want the project
60
+
mkdirmy-vue-starter&&cdmy-vue-starter
61
+
62
+
// Download the dotnet template
63
+
dotnetnew-iaspnetcore-vuejs
64
+
65
+
// Run and install the template
66
+
dotnetnewvuejs
67
+
68
+
// Make sure you install the dependencies
69
+
npminstall
70
+
```
71
+
72
+
Now you can open the project via Visual Studio or VSCode, press F5 to run the application!
73
+
74
+
Note:
75
+
76
+
* This will automatically run `dotnet restore` unless you install with `dotnet new vuejs --skipRestore`
* This will automatically run `dotnet restore` unless you install with `dotnet new vuejs --skipRestore`
45
-
* Restore Node dependencies by running `npm install`
79
+
80
+
### -OR- Clone this Repo itself
81
+
82
+
* Clone this repository : `$ git clone https://github.com/MarkPieszak/aspnetcore-Vue-starter.git VueWeb`
83
+
*`$ cd VueWeb/content`
84
+
*`$ dotnet restore && npm install`
85
+
* (If using VSCode) `$ code .`
86
+
* (If using Visual Studio) Open the `*.sln` file with "Open project" from Visual Studio IDE
87
+
46
88
47
89
## Start the application:
48
90
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.
49
91
50
92
### 1. Using the command line
51
93
Run the application using `dotnet run` or `npm run dev`
52
94
- note `dotnet run` should be run in `Development` environment for hot reloading. This setting can be set either within the command line or via the `launchSettings.json` available in the `Properties` folder.
53
-
95
+
54
96
### 2. Using the built-in run command
55
97
Run the application in VSCode or Visual Studio 2017 by hitting `F5`.
56
98
57
99
## View your application running
58
-
Browse to [http://localhost:5000](http://localhost:5000)
100
+
When running the app using debug menu or `F5` VS open auto the app in the browser;
59
101
60
102
# Recommended plugin for debugging VueJS
61
103
@@ -68,11 +110,15 @@ Browse to [http://localhost:5000](http://localhost:5000)
68
110
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.
69
111
Please note that this project is released with a [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
70
112
113
+
---
114
+
115
+
_Looking for ASP.NET Core & Angular 7.x+ Universal starter? [click here](https://github.com/TrilonIO/aspnetcore-angular-universal)_
0 commit comments