Johan Ahlen 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
..
app 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
assets 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
README.md 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
db.sqlite3 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
manage.py 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
package.json 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
requirements.txt 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
server.js 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây
webpack.config.js 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 năm trước cách đây

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.