ng new DotNetGigs -style=scssĪfter the generator creates the app you can open it from the command line by launching Visual Studio Code directly from the project folder. The documentation contains all the commands and switches available for working with angular-cli. The -style argument tells the generator we want the app to pre-compile our css using sass with scss syntax. This command creates a new folder for the project using our app name DotNetGigs. npm install -g we'll create a new project using ng new. From a command prompt install it using npm. To get started make sure you're running Node 6.9.0 or higher and NPM 3 or higher. It is the new swiss army knife of angular development. Angular 2 comes with an awesome new tool in angular-cli that can create your project, add files, and perform a number of other development tasks such as testing, bundling, and deployment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |