#This is a child theme of the site: https://demo.getbeans.io/
DO NOT USE!
This project contains preconfigured Webpack 4 to work with the following tasks:
- Compile
SCSS
toCSS
- Optimize images (
*.png
,*.jpeg
,*.gif
) - Convert
SVG
into inline'data:image'
format - Fonts loader
- Automatic copy
static
directory to thedist
directory - Production optimization (styles, JavaScript, images)
- Build source maps
- UIKit 3 (SCSS, JS)
- Execute a command from the root directory
npm install
- Use '
index.html
' as home page - Write Your own JavaScript in the file:
src/js/app.js
- Also Your styles may be placed in the SCSS file:
src/scss/app.scss
- Then run the following command to build
dev
bundle:
npm run build
- Good luck!
- src: Project sources root
- img: Images and icons used in your styles
- js: JavaScript code-base for your application
- scss: Styles sources (may contain structure what you like)
- static: Images and media-files which uses statically (will be copied to the
dist
directory), ex: uses in the HTML
- Build sources -
npm run build
- Start file watcher for recompiling -
npm run watch
- Start webpack dev server -
npm run start
- Build sources for production (with optimization) -
npm run production
- Clean '
dist
' folder -npm run clear