Skip to content

Commit

Permalink
docs: remove remaining instances of @microsoft/mgt from readme (#2784)
Browse files Browse the repository at this point in the history
* remove remaining instances of @microsoft/mgt from readme

* revert mgt-loader changes
  • Loading branch information
Mnickii authored Oct 19, 2023
1 parent 45163ed commit 4b85be1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/mgt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@ You can then start using the components in your html page. Here is a full workin
The benefits of using MGT through NPM is that you have full control of the bundling process and you can bundle only the code you need for your site. First, add the npm package:

```bash
npm install @microsoft/mgt
npm install @microsoft/mgt-msal2-provider
npm install @microsoft/mgt-components
```

Now you can reference all components and providers at the page you are using:

```html
<script type="module" src="node_modules/@microsoft/mgt/dist/es6/index.js"></script>
<script type="module" src="node_modules/@microsoft/mgt-components/dist/es6/index.js"></script>
<script type="module" src="node_modules/@microsoft/providers/mgt-msal2-provider/dist/es6/index.js"></script>

<mgt-msal2-provider client-id="[CLIENT-ID]"></mgt-msal2-provider>

Expand Down
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,15 @@ You can then start using the components in your html page. Here is a full workin
The benefits of using MGT through NPM is that you have full control of the bundling process and you can bundle only the code you need for your site. First, add the npm package:

```bash
npm install @microsoft/mgt
npm install @microsoft/mgt-components
npm install @microsoft/mgt-msal2-provider
```

Now you can reference all components and providers at the page you are using:

```html
<script type="module" src="node_modules/@microsoft/mgt/dist/es6/index.js"></script>
<script type="module" src="node_modules/@microsoft/mgt-components/dist/es6/index.js"></script>
<script type="module" src="node_modules/@microsoft/mgt-msal2-provider/dist/es6/index.js"></script>

<mgt-msal2-provider client-id="[CLIENT-ID]"></mgt-msal2-provider>

Expand Down

0 comments on commit 4b85be1

Please sign in to comment.