Johan Åhlén 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
..
app 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
assets 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
templates 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
README.md 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
babel.config.js 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
manage.py 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
package.json 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
requirements.txt 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
server.js 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전
webpack.config.js 95838710a6 [frontend] Upgrade django-webpack-loader to 1.0.0 4 년 전

README.md

Usage

Setup virtualenv (optional)

virtualenv ve
. ve/bin/activate

Install dependencies

pip install -r requirements.txt
npm install

Run django server

./manage.py runserver

Run webpack dev server

node server.js

Now you can make changes to assets/js/app.jsx and the changes will show up in the browser automagically.