mirror of https://gitee.com/antv-l7/antv-l7
fix(gatsby): gastsby node
This commit is contained in:
parent
9f2827f3c5
commit
7474eb81eb
|
@ -14,7 +14,7 @@ order: 1
|
||||||
#### CDN 在线使用连接为
|
#### CDN 在线使用连接为
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-1.4.4/build/L7-min.js"></script>
|
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-1.4.6/build/L7-min.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
### npm 安装使用
|
### npm 安装使用
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: 快速上手
|
title: QuickStart
|
||||||
order: 0
|
order: 0
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- /en/docs/tutorial
|
- /en/docs/tutorial
|
||||||
|
|
|
@ -11,6 +11,13 @@ exports.onCreateWebpackConfig = ({ getConfig }) => {
|
||||||
config.resolve.alias = {
|
config.resolve.alias = {
|
||||||
...config.resolve.alias,
|
...config.resolve.alias,
|
||||||
'@antv/l7': path.resolve(__dirname, 'packages/l7/src'),
|
'@antv/l7': path.resolve(__dirname, 'packages/l7/src'),
|
||||||
'@antv/l7-maps': path.resolve(__dirname, 'packages/maps/src')
|
'@antv/l7-core': path.resolve(__dirname, 'packages/core/src'),
|
||||||
|
'@antv/l7-component': path.resolve(__dirname, 'packages/component/src'),
|
||||||
|
'@antv/l7-layers': path.resolve(__dirname, 'packages/layers/src'),
|
||||||
|
'@antv/l7-maps': path.resolve(__dirname, 'packages/maps/src'),
|
||||||
|
'@antv/l7-renderer': path.resolve(__dirname, 'packages/renderer/src'),
|
||||||
|
'@antv/l7-scene': path.resolve(__dirname, 'packages/scene/src'),
|
||||||
|
'@antv/l7-source': path.resolve(__dirname, 'packages/source/src'),
|
||||||
|
'@antv/l7-utils': path.resolve(__dirname, 'packages/utils/src'),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue