Docs: Inconsistency between docs & CLI generated code in the "Workspace and project file structure" docs page
See original GitHub issueI’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:
Current behavior
There’s an issue in the https://next.angular.io/guide/file-structure page. When generating a new setup with the latest Angular CLI, I get a file structure that looks like this:
Instead in the article, the app
folder is at the root level rather than at the src
level.
Minimal reproduction of the problem with instructions
$ npx @angular/cli@next new myproject
Then inspect the file structure
Environment
Angular CLI: 7.0.0-rc.1
Node: 9.2.0
OS: darwin x64
Angular: 7.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.9.0-rc.1
@angular-devkit/build-angular 0.9.0-rc.1
@angular-devkit/build-optimizer 0.9.0-rc.1
@angular-devkit/build-webpack 0.9.0-rc.1
@angular-devkit/core 7.0.0-rc.1
@angular-devkit/schematics 7.0.0-rc.1
@angular/cli 7.0.0-rc.1
@ngtools/webpack 7.0.0-rc.1
@schematics/angular 7.0.0-rc.1
@schematics/update 0.9.0-rc.1
rxjs 6.3.3
typescript 3.1.1
webpack 4.19.1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings. On macOS -...
Read more >Workspace and project file structure - Angular
A project is the set of files that comprise a standalone application or a shareable library. The Angular CLI ng new command creates...
Read more >Command-Line Reference | Bazel
Canonicalizes a list of bazel options. clean, Removes output files and optionally stops the server. coverage, Generates code coverage report for ...
Read more >User Manual - rust-analyzer
The manual is written in AsciiDoc and includes some extra files which are generated from the source code. Run cargo test and cargo...
Read more >Merge conflicts - GitLab Docs
Merge conflicts happen when the two branches in a merge request (the source and target) each have different changes, and you must decide...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Some issues addressed in published version of page. Others corrected in https://github.com/angular/angular/pull/28377
Also the part on the inner structure of the
app
folder doesn’t seem to be 100% correct. My structure looks like this:…while on the docs, the
assets
folder seems to reside “inside” theapp
folder: