/
githubmirror
/
Motrix
Обзор
Документация
Войти
/
githubmirror
/
Motrix
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.3.7
src/index.ejs
34 строки
1 KB
Dr_rOot
fix: html tpl
07 апр 2019, 08:31
07 апр 2019, 08:31
e880430
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Motrix</title> <% if (htmlWebpackPlugin.options.nodeModules) { %> <!-- Add `node_modules/` to global paths so `require` works properly in development --> <script> require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>') </script> <% } %> </head> <body> <div id="app"> <div class="title-bar"></div> <section class="el-container" id="container"> <aside class="el-aside aside" style="width: 78px;"> </aside> <aside class="el-aside subnav" style="width: 200px;"> </aside> <section class="el-container main"> </section> </section> </div> <!-- Set `__static` path to static files in production --> <% if (!process.browser) { %> <script> if (process.env.NODE_ENV !== 'development') window.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\') </script> <% } %> <!-- webpack builds are automatically injected --> </body> </html>