Fullstack? Why not (Django + Vue-js)

My blogs

Fullstack? Why not (Django + Vue-js)

Table of Contents

  1. Django for backend
  2. Vue.js for frontend

Settings essentials


Django for backend


conda create --name django-env

activate django-env #activate the environment

_Remember to install all commands below inside conda env_ (django_env)

Vue.js for frontend


or

npm install -g typescript

Additional settings:

add this line to {frontend_project_dir}/jsconfig.json

    "jsx": "preserve",
    {
  "compilerOptions": {
    "target": "es5",
    "jsx": "preserve",
    "module": "esnext",
    "baseUrl": "./",
    "moduleResolution": "node",
    "paths": {
      "@/*": [
        "src/*"
        // "./src/**/*.ts"
      ]
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost"
    ]
  }
}