generator-mvc6-angular
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -42,3 +42,3 @@ 'use strict'; | ||
// To access props later use this.props.someOption; | ||
this.props.appName = this.props.appName.split(' ').join('_'); | ||
done(); | ||
@@ -93,3 +93,3 @@ }.bind(this)); | ||
); | ||
this.fs.copyTpl( | ||
/*this.fs.copyTpl( | ||
this.templatePath('_Solution.sln'), | ||
@@ -102,3 +102,3 @@ this.destinationPath(this.props.appName + '.sln'), { | ||
} | ||
); | ||
);*/ | ||
this.fs.copyTpl( | ||
@@ -105,0 +105,0 @@ this.templatePath('src/_Project.kproj'), |
{ | ||
"name": "generator-mvc6-angular", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "MVC 6 Angular Yeoman generator", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,4 +5,6 @@ # generator-mvc6-angular [![Build Status](https://secure.travis-ci.org/dolanmiu/generator-mvc6-angular.png?branch=master)](https://travis-ci.org/dolanmiu/generator-mvc6-angular) | ||
Sorry everyone who has downloaded this recently, I was just testing publishing it to npm (my first npm release), so there are some issues! | ||
Sorry everyone who has downloaded this recently, I was just testing publishing it to npm (my first npm release), so there are some issues! I will releasing frequent very updates! | ||
**Note: You need to have Visual Studio 2015 installed. [Visual Studio 2013 is does not support MVC 6](http://stackoverflow.com/questions/24259598/is-it-possible-to-use-asp-net-mvc-6-in-visual-studio-2013)** | ||
## Getting Started | ||
@@ -28,8 +30,8 @@ | ||
Finally, follow the instructions on the generator. It will prompt you for the name of the app. | ||
Follow the instructions on the generator. It will prompt you for the name of the app. | ||
The Visual Studio 2015 project is located in: `\src\[PROJECT NAME]\[PROJECT NAME].kproj`. When you first exit the project, it will try to create the other nessesary Visual Studio files, including the Solution (`.sln`) file. It is recommended for tidyness to save the `.sln` file in the root (same path as the `.gitignore`). This is because Visual Studio will create other user preferance meta-data (`.suo` files) not related to the source of the app. | ||
## Usage | ||
Note: You need to have Visual Studio 2013 or 2015 installed. | ||
1. To build, you run, you must go to the Task Runner Explorer, and run the `build` task. This will build the angular front-end into the `wwwroot` folder. | ||
@@ -76,3 +78,3 @@ | ||
1. To do so, right click a folder, and select `Add > New Item: | ||
1. To do so, right click a folder, and select `Add > New Item`: | ||
@@ -88,13 +90,14 @@ ![](http://i61.tinypic.com/27yvnso.png) | ||
Bootstrap | ||
* Bootstrap | ||
* Angular | ||
* Grunt - ASP.NET MVC6 has the Task Runner Explorer which has built in [Grunt](http://gruntjs.com) support! | ||
* Bower, NPM and NuGet - Built in support for these three repositories! To install new dependencies, `right click > restore` | ||
![](http://i60.tinypic.com/rau9li.png) | ||
* No More Web Forms | ||
* No More Visual Basic | ||
* Tag Helpers | ||
* Edit while running the solution like Classic ASP editing | ||
* ASP.NET Dependency Injection Framework | ||
Angular | ||
Grunt - ASP.NET MVC6 has the Task Runner Explorer which has built in [Grunt](http://gruntjs.com) support! | ||
Bower, NPM and NuGet - ASP.NET MVC6 has built in support for these three repositories! To install new dependencies, `right click > restore` | ||
![](http://i60.tinypic.com/rau9li.png) | ||
### Getting To Know Yeoman | ||
@@ -101,0 +104,0 @@ |
66294
638
116