Vue Flask Template screenshot

Vue Flask Template

Author Avatar Theme by Ailln
Updated: 13 Aug 2021
100 Stars

一个快速搭建 Web 应用的模版!前端使用渐进式框架 Vue,后端使用微框架 Flask

Categories

Overview

The Vue Flask Template is a template for quickly building web applications. It combines the use of the progressive framework Vue on the frontend and the micro framework Flask on the backend. To use this template, simply click on the “Use this template” button on the top-right corner of the project page, enter a name and description, and create the project. Once created, clone the project onto your local machine. It is important to note that this guide uses the example of the current project for demonstration purposes, you will need to replace it with your own project. To install the required dependencies, you will need Node environment and Python environment. If you are unfamiliar with these environments, please refer to the reference articles provided at the end of this document. It is also important to ensure that you have Node version 12+ and Python version 3.6+ installed. Once installed, open two terminals and start the frontend and backend respectively. You can then preview the application by opening http://localhost:3000/ in your browser. Customize the code according to your needs, referencing the project structure and the official documentation of Vue 3, Vite, and Flask.

Features

  • Combines Vue on the frontend and Flask on the backend
  • Fast and easy web application setup
  • Progressive framework for frontend development
  • Micro framework for backend development
  • Supports customization of code based on project needs

Installation

  1. Click on the “Use this template” button on the top-right corner of the project page.
  2. Enter a name and description for your project and create it.
  3. Clone the newly created project onto your local machine.
  4. Install the required dependencies:
    • Node environment (version 12+)
    • Python environment (version 3.6+)
  5. Open two terminals.
  6. In one terminal, start the frontend by running the appropriate command.
  7. In the other terminal, start the backend by running the appropriate command.
  8. Preview the application by opening http://localhost:3000/ in your browser.
  9. Customize the code to fit your project requirements.

Summary

The Vue Flask Template is a convenient solution for quickly building web applications. By utilizing Vue as the frontend framework and Flask as the backend framework, it provides a seamless integration between the two components. The installation process is straightforward, requiring the installation of Node and Python environments. Once set up, developers can easily customize the code to meet the specific needs of their projects. With its features and ease of use, the Vue Flask Template is a valuable tool for web application development.