split home page logic

pull/2944/head
Max Alekseenko 5 years ago
parent c6408557bf
commit 6f29da7330
  1. 1
      apps/block_scout_web/assets/js/app.js
  2. 1
      apps/block_scout_web/assets/webpack.config.js
  3. 1
      apps/block_scout_web/lib/block_scout_web/templates/chain/show.html.eex

@ -27,7 +27,6 @@ import './pages/address/logs'
import './pages/address/validations'
import './pages/address/internal_transactions'
import './pages/blocks'
import './pages/chain'
import './pages/pending_transactions'
import './pages/transaction'
import './pages/transactions'

@ -76,6 +76,7 @@ const appJs =
app: './js/app.js',
stakes: './js/pages/stakes.js',
'chart-loader': './js/chart-loader.js',
'chain': './js/pages/chain.js',
'non-critical': './css/non-critical.scss'
},
output: {

@ -73,6 +73,7 @@
</div>
</div>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/chart-loader.js") %>"></script>
<script defer data-cfasync="false" src="<%= static_path(@conn, "/js/chain.js") %>"></script>
</div>
<section class="container">
<div class="card card-chain-blocks">

Loading…
Cancel
Save