/nuxt-python

A basic concept using Nuxt and Python to decouple template engines in Python web applications.

Primary LanguagePython

Nuxt + Plython

A basic concept using Nuxt and Python to decouple template engines in Python web applications.

Read the post here about this repository.

Nuxt Setup

# Dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# Production
$ npm run build
$ npm start

Then, access it at http://localhost:3000/

Flask Setup

# Production
$ cd [my-app-name]
$ cd venv
$ python app/routes.py

Then, access it at http://localhost:5000/

Dependencies

  1. Node
  1. Python

    Flask