import{_ as i,c as s,o as a,a4 as n}from"./chunks/framework.BZiUP1E-.js";const c=JSON.parse('{"title":"liteyuki.plugins.plugin_loader","description":"","frontmatter":{"title":"liteyuki.plugins.plugin_loader","collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/plugin_loader/index.md","filePath":"en/dev/api/plugins/plugin_loader/index.md","lastUpdated":null}'),l={name:"en/dev/api/plugins/plugin_loader/index.md"},e=n(`

liteyuki.plugins.plugin_loader

Description: 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()

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

Source code or View on GitHub
python
def default_plugins_loader():
    """
    默认插件加载器,应在初始化时调用
    """
    for plugin in get_config('liteyuki.plugins', []):
        load_plugin(plugin)
    for plugin_dir in get_config('liteyuki.plugin_dirs', ['src/liteyuki_plugins']):
        load_plugins(plugin_dir)
`,6),t=[e];function p(r,o,h,d,k,u){return a(),s("div",null,t)}const _=i(l,[["render",p]]);export{c as __pageData,_ as default};