moviedo / webpack_test

Setting webpack with laravel-mix. Testing project for working with webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Messing with Webpack

This is a light django project to test out how to use Webpack with various technologies(angularjs, less, laravel-mix, etc).

Requirements

List of system requirements in order to run this application.

  1. python3 runtime, prefereably the one used in .python-version, and optionally with pyenv.
  2. pipenv
  3. nodejs, prefereably latest LTS (12.16.2 at time of publish) and with NVM.
  4. yarn

Setup

Follow the step below to get up and running.

  1. Install python dependecies with pipenv install.
  2. Install nodejs dependencies with cd frontend && yarn.
  3. Run the django dev server locally django runserver.
  4. In another terminal run laravel-mix/webpack with yarn start.
  5. Open up browser at localhost:3000.
  6. Make changes to frontend to see browser reloading.

See the README in frontend for more info on what's powering the development process.

License

MIT

Auther Information

Mauro Oviedo (aka moviedo)

About

Setting webpack with laravel-mix. Testing project for working with webpack.

License:MIT License


Languages

Language:Python 45.8%Language:CSS 21.4%Language:JavaScript 19.3%Language:HTML 13.5%