Johan Ahlen 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
..
app 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
assets 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
README.md 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
db.sqlite3 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
manage.py 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
package.json 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
requirements.txt 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
server.js 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前
webpack.config.js 4b534cbb4e HUE-8687 [frontend] Add webpack for js modularity and bundling 6 年之前

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.