cd html
npm install
npx run watch
- To watch all files changes
npx run dev
- To build all files in development mode
npx run prod
- To build all files in production mode
/src - This folder contains all the source JS and CSS files
/dist - This folder contains all the compiled JS and CSS files
/node_modules - Do not upload this folder to server 🙂
- Bootstrap
- jQuery
- Slick Carousel
- Hamburger CSS
- PostCSS Autoprefixer
- SASS Support
- Browsersync - Make sure to change the proxy url in webpack.mix.js file
mkdir myproject
cd myproject
wp core download
wp config create --dbname="myproject" --dbuser="admin" --dbpass="admin" --dbhost="localhost"
wp core install --url="myproject.local" --title="My Project" --admin_user="admin" --admin_password="admin" --admin_email="[email protected]"