mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 02:01:49 +08:00
feat(apps): lots of work making apps easier to develop, module paths are handled automatically
This commit is contained in:
@ -41,7 +41,17 @@ func Init() error {
|
||||
scan(path.Join(setting.StaticRootPath, "app/plugins"))
|
||||
scan(setting.PluginsPath)
|
||||
checkPluginPaths()
|
||||
// checkDependencies()
|
||||
|
||||
for _, panel := range Panels {
|
||||
panel.initFrontendPlugin()
|
||||
}
|
||||
for _, panel := range DataSources {
|
||||
panel.initFrontendPlugin()
|
||||
}
|
||||
for _, app := range Apps {
|
||||
app.initApp()
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user