django and vue
利用 Vue 和 Django 搭建一个增删改查的Demo
first
git clone git@github.com:RogersLei/django-vue.git
cd django-vue
``` Shell
// frontend/ it's default port is 8080
cd frontend
npm install
npm run dev
if you can't make db in your PC, you should config your database first for mysql and name is python_use
then you should do this:
// it's default port is 8000
cd django-vue
python manage.py makemigrations crud
python manage.py migrate
python manage.py runserver 8000