fge-auth-component 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,27 +22,20 @@ import FgeAuthPlugin from 'fge-auth-component';
22
22
  import '../node_modules/fge-auth-component/dist/fge-auth-component.css';
23
23
 
24
24
  ...
25
- app.use(FgeAuthPlugin, {
26
- enablerPrimeServices: true,
27
- configYupLocale: true,
28
- });
29
25
 
30
26
  app.use(FgeAuthPlugin, {
31
- //Si su proyecto no usa los servicios de primevue true | false
32
- useServices: true,
33
- //Si su proyecto no usa las directivas de primevue true | false
34
- addDirectives: true,
35
- //Si su proyecto no usa los componentes de primevue true | false
36
- addPrimeVueComponents: true,
37
- });
38
-
39
- store.setConfigs({
40
- newBaseURL: props.apiBaseUrl,
41
- newAplicacion: props.aplicacion,
42
- newRrhhUrl: props.rrhhUrl,
43
- newRedirectLoginFunction: props.redirectLoginFunction,
44
- newRedirectLogoutFunction: props.redirectLogoutFunction
45
- });
27
+ usePrimeDirectives?: boolean;
28
+ usePrimeServices?: boolean;
29
+ usePrimeVueLocale?: boolean;
30
+ useYupLocale?: boolean;
31
+ baseUrl: string;
32
+ aplicacion: string;
33
+ rrhhUrl: string;
34
+ redirectLoginFunction: Function;
35
+ redirectLogoutFunction: Function;
36
+ }
37
+ );
38
+
46
39
  ```
47
40
 
48
41
  ## Publicar en npm