1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

docs: use named export instead of default (#1614)

This commit is contained in:
Nuno Góis 2022-05-20 10:22:14 +01:00 committed by GitHub
parent 34c4f5bd84
commit 46c253b964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ npm install @unleash/proxy-client-vue
Import the provider like this in your entrypoint file (typically App.vue):
```jsx
import FlagProvider from '@unleash/proxy-client-vue'
import { FlagProvider } from '@unleash/proxy-client-vue'
const config = {
url: 'https://HOSTNAME/proxy',
@ -43,7 +43,7 @@ const config = {
Alternatively, you can pass your own client in to the FlagProvider:
```jsx
import FlagProvider, { UnleashClient } from '@unleash/proxy-client-vue'
import { FlagProvider, UnleashClient } from '@unleash/proxy-client-vue'
const config = {
url: 'https://HOSTNAME/proxy',