Skip to content

Commit

Permalink
📃 docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
GuoJikun committed Feb 27, 2023
1 parent ec6355a commit d0dec4b
Show file tree
Hide file tree
Showing 20 changed files with 228 additions and 283 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ node_modules
dist
dist-ssr
*.local
lib
types

# Editor directories and files
.vscode/*
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ Vue.use(foxPreviewImage)

## 更新日志

### v2.6.0

feat:

- 增加下载功能
- 统一icon

### v2.4.1

* fix:
Expand Down
2 changes: 1 addition & 1 deletion lib/preview-image.js

Large diffs are not rendered by default.

386 changes: 214 additions & 172 deletions lib/preview-image.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/preview-image.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions types/App.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/arrow-right.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/close.vue.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions types/components/preview-image/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export declare const FoxPreviewImage: import("vue").DefineComponent<{
clockwiseRotation: () => void;
getCurrScale: import("vue").ComputedRef<number>;
getCurrIndex: import("vue").ComputedRef<string>;
downloadFile: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: BooleanConstructor;
Expand Down
65 changes: 0 additions & 65 deletions types/components/preview-image/src/index.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/rotate-left.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/rotate-right.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/zoom-in.vue.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/components/zoom-out.vue.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion types/main.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions types/router/index.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions types/utils/types.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions types/views/home.vue.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions vite.config.lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default defineConfig({
globals: {
vue: "Vue",
},
exports: "named",
},
},
lib: {
Expand Down

0 comments on commit d0dec4b

Please sign in to comment.