Fully responsive flexbox content layout that contains a pure CSS open/close toggle for the left and right sidebars. The CSS is built from Sass using Webpack with Autoprefixer. For development, a Webpack Dev Server plugin is included.
Features
- Pure CSS Sidebar toggle
- Sass CSS preprocessor
- PostCSS Autoprefixer
- CSSnano
- Webpack 4
- Webpack Dev Server: webpack-plugin-serve
- Webpack CLI: webpack-nano
-
Requires Node.js
-
Download or clone this repsoitory.
-
Change directory to /uiCookbook/sidebars
-
Run npm install from a bash terminal or command prompt. This will read the
package.json
file and install the dependencies into the sidebars project folder.
npm install
- Dev
npm run dev
- Build
npm run build
Additional reading: