@bndynet/vue-site 1.4.1 → 1.5.0
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 +18 -3
- package/README.zh.md +17 -4
- package/dist/composables/useSiteConfig.d.ts +7 -0
- package/dist/create-app.d.ts +0 -9
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +716 -702
- package/dist/types.d.ts +4 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -332,7 +332,8 @@ export interface ShellConfig {
|
|
|
332
332
|
align?: 'left' | 'center' | 'right';
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
|
-
* Consumer-defined public configuration exposed through `useSiteConfig().config.custom
|
|
335
|
+
* Consumer-defined public configuration exposed through `useSiteConfig().config.custom` and
|
|
336
|
+
* `getSiteConfig().custom`.
|
|
336
337
|
* Extend this interface with TypeScript module augmentation to type application-specific keys.
|
|
337
338
|
* Values are bundled into client code and must not contain secrets.
|
|
338
339
|
*/
|
|
@@ -418,8 +419,8 @@ export interface SiteConfig {
|
|
|
418
419
|
env?: SiteEnvConfig;
|
|
419
420
|
/**
|
|
420
421
|
* Consumer-defined public configuration. The framework preserves these values without
|
|
421
|
-
* interpreting them and exposes them through `useSiteConfig().config.custom
|
|
422
|
-
* bundled into client code and must not contain secrets.
|
|
422
|
+
* interpreting them and exposes them through `useSiteConfig().config.custom` and
|
|
423
|
+
* `getSiteConfig().custom`. Values are bundled into client code and must not contain secrets.
|
|
423
424
|
*/
|
|
424
425
|
custom?: SiteCustomConfig;
|
|
425
426
|
/**
|