docs(core): fix import paths in standalone tutorials (#14797)

This commit is contained in:
Isaac Mann 2023-02-03 11:59:25 -05:00 committed by GitHub
parent 4ff59ff3cb
commit b85f9de9e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -63,7 +63,7 @@ Configure the routes:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { RouterModule } from '@angular/router';
import { SharedUiModule } from '@store/shared/ui';
import { SharedUiModule } from 'shared/ui';
import { AppComponent } from './app.component';
import { NxWelcomeComponent } from './nx-welcome.component';
@ -152,7 +152,7 @@ import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { CartRouteComponent } from './cart-route/cart-route.component';
import { SharedUiModule } from '@store/shared/ui';
import { SharedUiModule } from 'shared/ui';
@NgModule({
declarations: [CartRouteComponent],

View File

@ -59,7 +59,7 @@ Nx has two main goals:
- **Speed up your existing workflow with minimum effort.**
- **Provide a first-rate developer experience no matter the size of the repo.**
It achieves speed that via [computation caching](/core-features/cache-task-results), by only [run tasks affected by a given change](/core-features/run-tasks#run-tasks-affected-by-a-pr) and by being able to [distribute your task execution](/core-features/distribute-task-execution) across multiple agents in CI.
It achieves that speed via [computation caching](/core-features/cache-task-results), by only [run tasks affected by a given change](/core-features/run-tasks#run-tasks-affected-by-a-pr) and by being able to [distribute your task execution](/core-features/distribute-task-execution) across multiple agents in CI.
High quality DX is implemented via [code generators](/plugin-features/use-code-generators), [IDE extensions](/core-features/integrate-with-editors#integrate-with-editors) and by helping you [keep your codebase evergreen](/core-features/automate-updating-dependencies).

View File

@ -85,7 +85,7 @@ root.render(
```
```javascript {% fileName="src/app/app.tsx" %}
import { RoutesCart } from '@store/cart';
import { RoutesCart } from 'cart';
import { Route, Routes } from 'react-router-dom';
import Shop from './shop/shop';
@ -136,7 +136,7 @@ export default Banner;
Add the `Banner` component to the cart route and link back to the main page:
```javascript {% fileName="cart/src/lib/cart.tsx" %}
import { Banner } from '@store/shared/ui';
import { Banner } from 'shared/ui';
import { Link } from 'react-router-dom';
import styles from './cart.module.css';
@ -160,7 +160,7 @@ export default RoutesCart;
Update the `shop` component to use the `Banner` component and link to the cart.
```javascript {% fileName="src/app/shop/shop.tsx" %}
import { Banner } from '@store/shared/ui';
import { Banner } from 'shared/ui';
import { Link } from 'react-router-dom';
import styles from './shop.module.css';