Updating install and build instructions

Fixing documentation issue for React plugin
This commit is contained in:
Hector Hernandez Guzman 2019-07-30 16:34:31 -07:00
Родитель c58aed88b9
Коммит 3befc1f622
3 изменённых файлов: 24 добавлений и 7 удалений

Просмотреть файл

@ -12,10 +12,21 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
## Clone and setup
1. Clone the repository and create a new branch
2. Navigate to the vNext folder
3. run **rush update**
4. run **npm install**
5. run **rush build**
2. Install all dependencies
```
npm install
npm install -g @microsoft/rush
```
3. Navigate to the vNext folder and update rush dependencies
```
cd vnext
rush update
```
4. Build and test
```
rush build
npm run test
```
## Build and test

Просмотреть файл

@ -248,10 +248,16 @@ ITelemetryPlugin has a simpler base type IPlugin that you can instantiate for in
1. Install all dependencies
```
npm install
npm install -g @microsoft/rush
```
2. Build and test
2. Navigate to the vNext folder and update rush dependencies
```
npm run build
cd vnext
rush update
```
3. Build and test
```
rush build
npm run test
```

Просмотреть файл

@ -46,7 +46,7 @@ class MyComponent extends React.Component {
...
}
export default withAITracking(appInsights, MyComponent);
export default withAITracking(reactPlugin,appInsights, MyComponent);
```
## Configuration