mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Fix typos for 'Build a data source' tutorial (#63448)
This commit is contained in:
committed by
GitHub
parent
4b5d8b1002
commit
5ce884e92a
@@ -6,7 +6,7 @@ Tooling for modern web development can be tricky to wrap your head around. While
|
||||
|
||||
Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugin) is a CLI application that simplifies Grafana plugin development, so that you can focus on code. The tool scaffolds a starter plugin and all the required configuration for you.
|
||||
|
||||
1. In the plugin directory, create a plugin from template using create-plugin:
|
||||
1. In the plugin directory, create a plugin from template using create-plugin. Select `datasource` when asked the kind of plugin:
|
||||
|
||||
```
|
||||
npx @grafana/create-plugin
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Plugin Anatomy
|
||||
|
||||
Plugins come in different shapes and sizes. Before we dive deeper, let's look at some of the properties that are shared by all of them.
|
||||
|
||||
Every plugin you create will require at least two files: `plugin.json` and `module.ts`.
|
||||
Every plugin you create will require at least two files: `plugin.json` and `src/module.ts`.
|
||||
|
||||
### plugin.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user