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
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.3
os: win32 x64
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
When trying to generate a component inside a sub folder using:
ng generate component sub-folder/test-component
It adds a backwards slash instead of forward slash on the import inside the app.modules.ts like below:
import { TestComponentComponent } from './sub-folder\test-component/test-component.component';
The text was updated successfully, but these errors were encountered:
Windows 10
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.3
os: win32 x64
do on your code? etc.
When trying to generate a component inside a sub folder using:
ng generate component sub-folder/test-component
It adds a backwards slash instead of forward slash on the import inside the app.modules.ts like below:
import { TestComponentComponent } from './sub-folder\test-component/test-component.component';
The text was updated successfully, but these errors were encountered: