Updating install and build instructions
Fixing documentation issue for React plugin
This commit is contained in:
Родитель
c58aed88b9
Коммит
3befc1f622
|
@ -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
|
||||
|
||||
|
|
10
README.md
10
README.md
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче