Skip to content

Commit

Permalink
docs: 更新图片
Browse files Browse the repository at this point in the history
  • Loading branch information
lusess123 committed May 6, 2021
1 parent 27309f7 commit f5fa3b0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ const CompressionPlugin = require("compression-webpack-plugin");
const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;

export default defineConfig({
description:'一个用G6做的ER图工具,最终目标是想做成在线版的 powerdesigner',
description: '一个用G6做的ER图工具,最终目标是想做成在线版的 powerdesigner',
title: 'web-pdm',
favicon:
'http://zyking.xyz/logo.png',
'http://erd.zyking.xyz/logo.png',
logo:
'http://zyking.xyz/logo.png',
'http://erd.zyking.xyz/logo.png',
outputPath: 'docs-dist',
mode: 'site',
resolve : {
resolve: {
includes: ['docs']
},
dynamicImport: {},
Expand All @@ -35,7 +35,7 @@ export default defineConfig({
},
{
title: '其他',
children: ['guide/migration', 'guide/faq', 'guide/next','guide/ddd'],
children: ['guide/migration', 'guide/faq', 'guide/next', 'guide/ddd'],
},
],
},
Expand All @@ -46,7 +46,7 @@ export default defineConfig({
{ title: 'GitHub', path: 'https://github.com/lusess123/web-pdm' },
{ title: '更新日志', path: 'https://github.com/lusess123/web-pdm/blob/master/packages/web-pdm-lib/CHANGELOG.md' },
],
chainWebpack(memo){
chainWebpack(memo) {
memo.plugin('CompressionPlugin').use(new CompressionPlugin({
filename: "[path].gz[query]",
algorithm: "gzip",
Expand Down
Binary file modified docs/assets/group.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/pay.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ import React from 'react'
import Groupjpeg from './assets/group.jpeg'
export default () => <img src={Groupjpeg} width="260" />
```

## 赞助

```jsx | inline
import React from 'react'
import Groupjpeg from './assets/pay.jpeg'
export default () => <img src={Groupjpeg} width="260" />
```

0 comments on commit f5fa3b0

Please sign in to comment.