import{_ as s,c as a,a7 as l,o as n}from"./chunks/framework.jrU0lkHV.js";const u=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"dev/api/plugins/plugin_loader/index.md","filePath":"zh/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),e={name:"dev/api/plugins/plugin_loader/index.md"};function t(p,i,r,d,o,h){return n(),a("div",null,i[0]||(i[0]=[l('

模块 liteyuki.plugins.plugin_loader

Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved

@Time : 2024/8/11 下午10:02 @Author : snowykami @Email : snowykami@outlook.com @File : init.py.py @Software: PyCharm


func default_plugins_loader()

说明: 默认插件加载器,应在初始化时调用

源代码在GitHub上查看
python
def default_plugins_loader():\n    for plugin in get_config('liteyuki.plugins', []):\n        load_plugin(plugin)\n    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):\n        load_plugins(plugin_dir)
',7)]))}const g=s(e,[["render",t]]);export{u as __pageData,g as default};