Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

vuejs and Django integration with hot code reload. Dont use this, usehttps://github.com/NdagiStanley/vue-django orhttps://github.com/gtalarico/django-vue-template

License

NotificationsYou must be signed in to change notification settings

rokups/hello-vue-django

Repository files navigation

This is a boilerplate project for using vuejs with Django.

Features

  • Django backend in./backend
  • vuejs (v2) frontend in./frontend
  • Hot-reload with vue-loader
  • eslint linter integration
  • Makefile to make your life easy

Development environment setup

These steps will install all required dependencies including development ones, run migrations and start dev server.

make devmake migratemake run

Deployment

These steps will install production dependencies and build vuejs application tostatic/dist folder.

make prodmake build

Be aware

For the sake of simplicity Django config is contained within its own backend app. In real world setting you wouldprobably want to removebackend fromINSTALLED_APPS, create a new app and movebackend.views to it.

You probably want to create python virtual environment as well. Default python instance available will be used.


[8]ページ先頭

©2009-2025 Movatter.jp