Browse Source

remove main.js from webpack and add styles

tags/v1.3.0
Simon Vieille 1 month ago
parent
commit
bfb2b5d819
Signed by: deblan <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
3 changed files with 9 additions and 1 deletions
  1. +8
    -0
      css/sideMenu.css
  2. +1
    -0
      src/SideMenu.js
  3. +0
    -1
      webpack.js

+ 8
- 0
css/sideMenu.css View File

@@ -45,6 +45,10 @@
border: 0;
}

#side-menu.hide-opener .side-menu-opener {
display: none;
}

.side-menu-apps-list {
height: calc(100vh - 150px);
z-index: 2200;
@@ -94,3 +98,7 @@
padding-top: 2px;
top: 0;
}

#side-menu.hide-opener .side-menu-logo {
margin-top: 20px;
}

+ 1
- 0
src/SideMenu.js View File

@@ -30,6 +30,7 @@ const mountSideMenuComponent = () => {

if (sideMenuContainer) {
sideMenu.$mount('#side-menu')
$('body').trigger('side-menu.ready')
} else {
window.setTimeout(mountSideMenuComponent, 50)
}


+ 0
- 1
webpack.js View File

@@ -4,7 +4,6 @@ const StyleLintPlugin = require('stylelint-webpack-plugin')

module.exports = {
entry: {
'main': path.join(__dirname, 'src', 'main.js'),
'admin': path.join(__dirname, 'src', 'admin.js'),
'sideMenu': path.join(__dirname, 'src', 'SideMenu.js'),
},


Loading…
Cancel
Save