yarn global v1.16.0 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.9: The platform "win32" is incompatible with this module. info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... [4/4] Building fresh packages... success Installed "@angular/cli@8.0.2" with binaries: - ng Done in 18.75s.
D:\>ng new todo-web-app ? Would you like to add Angular routing? (y/N)
接下来,系统会提示你选择用哪种样式定义语言,在本实验中选择CSS
1 2 3 4 5 6 7
? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? (Use arrow keys) > CSS SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax ] Sass [ http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html ] Less [ http://lesscss.org ] Stylus [ http://stylus-lang.com ]