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:
parent
34c4f5bd84
commit
46c253b964
@ -23,7 +23,7 @@ npm install @unleash/proxy-client-vue
|
|||||||
Import the provider like this in your entrypoint file (typically App.vue):
|
Import the provider like this in your entrypoint file (typically App.vue):
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import FlagProvider from '@unleash/proxy-client-vue'
|
import { FlagProvider } from '@unleash/proxy-client-vue'
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
url: 'https://HOSTNAME/proxy',
|
url: 'https://HOSTNAME/proxy',
|
||||||
@ -43,7 +43,7 @@ const config = {
|
|||||||
Alternatively, you can pass your own client in to the FlagProvider:
|
Alternatively, you can pass your own client in to the FlagProvider:
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import FlagProvider, { UnleashClient } from '@unleash/proxy-client-vue'
|
import { FlagProvider, UnleashClient } from '@unleash/proxy-client-vue'
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
url: 'https://HOSTNAME/proxy',
|
url: 'https://HOSTNAME/proxy',
|
||||||
|
Loading…
Reference in New Issue
Block a user