Skip to content

Commit

Permalink
chore: 增加player组件例子 (#2017)
Browse files Browse the repository at this point in the history
Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>
  • Loading branch information
tangying1027 and xuying.xu authored Nov 18, 2024
1 parent 676bc8c commit d6801f4
Show file tree
Hide file tree
Showing 7 changed files with 1,353 additions and 11 deletions.
2 changes: 2 additions & 0 deletions site/.dumi/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if (window) {
window.React = require('react');
window.ReactDOM = require('react-dom');
window.gPluginRoughCanvasRenderer = require('@antv/g-plugin-rough-canvas-renderer');
(window as any).lilGui = require('lil-gui');
(window as any).stats = require('stats.js');
// window.f2 = require('./src/index-all.js');
// window.DataSet = require('@antv/data-set');
window.lodash = require('lodash');
Expand Down
2 changes: 1 addition & 1 deletion site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export default defineConfig({
en: 'Getting Started',
},
link: `/tutorial/getting-started`,

},
{
text: {
Expand Down Expand Up @@ -352,6 +351,7 @@ export default defineConfig({
<div class="mobile-content">
<canvas id="container" style="display: block; width: 375px; height: 260px;" />
</div>
<div id="mobile-footer"></div>
</div>
`,
json: {
Expand Down
5 changes: 5 additions & 0 deletions site/examples/creative/case/demo/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"title": "折线图动态排序",
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/XjBinPfpXY/line-race.gif"
},
{
"filename": "player.jsx",
"title": "折线图动画",
"screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/qKUDEeJ7aFiPN4RHxhgbP/Kapture_2024_11_18_at_15_59_55.gif"
},
{
"filename": "apple-watch.jsx",
"title": "Apple Watch 健身记录",
Expand Down
Loading

0 comments on commit d6801f4

Please sign in to comment.