06 2021 档案
摘要:安装axios: npm install --save axios 配置nuxt.config.js modules: [ '@nuxtjs/axios', '@nuxtjs/proxy', ], axios: { proxy: true // 表示开启代理 }, proxy: { //过滤 web
阅读全文
摘要:1、检查环境(安装环境可查看相关的教程),查看是否安装node和vue,依次执行下列语句: node -vvue -V npm install vue-cli -g 2、初始化一个nuxt项目: vue init nuxt-community/starter-template nuxt-ssr-de
阅读全文
摘要:tortoise-orm官方 https://tortoise-orm.readthedocs.io/en/latest/models.html?highlight=insert#tortoise.models.Model.bulk_create 异步 类方法 bulk_create(对象, bat
阅读全文
摘要:aerich是一种ORM迁移工具,需要结合tortoise异步orm框架使用 官方文档:https://github.com/tortoise/aerich/blob/dev/README.md 安装 pip install aerich 新建settings.py文件夹 -- 添加aerich.m
阅读全文
摘要:转载:https://www.cnblogs.com/luckinlee/p/11622284.html 官方地址:https://tortoise-orm.readthedocs.io/en/latest/models.html
阅读全文

浙公网安备 33010602011771号