Skip to content

Conversation

NewByVector
Copy link
Contributor

add smart tips for G2Plot examples

@auto-add-label auto-add-label bot added the Bug Something isn't working label Sep 15, 2020
@@ -27,7 +27,7 @@
"site:develop": "cross-env PORT=8080 gatsby develop --open -H 0.0.0.0",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run site:build && gh-pages -d public",
"site:deploy": "npm run build && npm run site:build && gh-pages -d public",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

部署前 build 是为了生成类型定义?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

从build后生成的lib目录下面的index.d.ts开始提取类型定义文件,用来做官网demo的智能提示

@hustcc hustcc self-requested a review September 15, 2020 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working PR: reviewed-approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants