diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-29 05:42:37 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-29 05:42:37 +0800 |
commit | 166c741beb569ea5245a47203edaef4c9232b8d4 (patch) | |
tree | 084fd8425117a0fe03b8c8feda33ccfa264ee6f1 /packages/website/ts/index.tsx | |
parent | 629a0fa3a562a9df00eeeb5ce5b1bad853008ac3 (diff) | |
download | dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar.gz dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar.bz2 dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar.lz dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar.xz dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.tar.zst dexon-sol-tools-166c741beb569ea5245a47203edaef4c9232b8d4.zip |
Add connect docs
Diffstat (limited to 'packages/website/ts/index.tsx')
-rw-r--r-- | packages/website/ts/index.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 8b6d4d956..283eb8125 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -87,6 +87,12 @@ const LazySmartContractsDocumentation = createLazyComponent( /* webpackChunkName: "smartContractDocs" */'ts/containers/smart_contracts_documentation', ), ); +const LazyConnectDocumentation = createLazyComponent( + 'Documentation', + async () => System.import<any>( + /* webpackChunkName: "connectDocs" */'ts/containers/connect_documentation', + ), +); const docs = class Documentation extends React.Component<any, any> { @@ -112,6 +118,7 @@ render( <Route path={`${WebsitePaths.About}`} component={About as any} /> <Route path={`${WebsitePaths.Wiki}`} component={Wiki as any} /> <Route path={`${WebsitePaths.ZeroExJs}/:version?`} component={LazyZeroExJSDocumentation} /> + <Route path={`${WebsitePaths.Connect}/:version?`} component={LazyConnectDocumentation} /> <Route path={`${WebsitePaths.SmartContracts}/:version?`} component={LazySmartContractsDocumentation} |