Commit 2247fc1e authored by nikogu's avatar nikogu

split g2-slider

parent ca45dd03
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
}, },
"externals": { "externals": {
"g2": "G2", "g2": "G2",
"g-cloud": "Cloud" "g-cloud": "Cloud",
"g2-plugin-slider": "G2.Plugin.slider"
}, },
"theme": "./src/theme.js" "theme": "./src/theme.js"
} }
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
"dependencies": { "dependencies": {
"antd": "next", "antd": "next",
"dva": "^1.2.1", "dva": "^1.2.1",
"g2-plugin-slider": "^1.2.1",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"numeral": "^2.0.6", "numeral": "^2.0.6",
"prop-types": "^15.5.10", "prop-types": "^15.5.10",
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<div id="root"></div> <div id="root"></div>
<script src="https://gw.alipayobjects.com/as/g/datavis/g2/2.3.12/index.js"></script> <script src="https://gw.alipayobjects.com/as/g/datavis/g2/2.3.12/index.js"></script>
<script src="https://a.alipayobjects.com/g/datavis/g-cloud/1.0.2/index.js"></script> <script src="https://a.alipayobjects.com/g/datavis/g-cloud/1.0.2/index.js"></script>
<script src="https://a.alipayobjects.com/g/datavis/g2-plugin-slider/1.2.1/slider.js"></script>
<script src="index.js"></script> <script src="index.js"></script>
</body> </body>
</html> </html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment