Skip to content

Repository files navigation

nuxt-fastapi

Webapp template that made with Nuxt and FastAPI backend. Out of box, battery included.

fromfastapiimportFastAPIapp=FastAPI()
@app.route('/hello')defhello(name: str='World'):
return {'greet': f'Hello, {name}!'}
<template>
<div>{{ greet }}</div>
</template>
<script>exportdefault {asyncData({$api, route: {fullPath}}) {return$api(fullPath) }}</script>

Getting started

Getting stared

Pre requirements

  • Python 3.x (with virtualenv)

About

nuxt with fastapi backend

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from comfuture/nuxt-flask