Skip to content

Commit

Permalink
Forward slash, not backslash in generated alias
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustMiller committed Dec 16, 2024
1 parent d67bdd1 commit 947c663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/5.x/extend/plugin-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Don’t move or rename this class or file after [publishing](plugin-store.md) a

Plugins are automatically given a few key features to simplify setup and provide a consistent developer experience:

- An [alias](../configure.md#aliases) is registered, corresponding to each autoloading namespace. If your plugin’s root namespace was `acmelabs\mousetrap`, Craft would create `@acmelabs\mousetrap`.
- An [alias](../configure.md#aliases) is registered, corresponding to each autoloading namespace. If your plugin’s root namespace was `acmelabs\mousetrap`, Craft would create `@acmelabs/mousetrap`.
- The plugin’s `controllerNamespace` is configured such that web requests are served by [controllers](controllers.md) in a `controllers/` directory adjacent to the main plugin file, and [console commands](commands.md) are resolved using classes in `console/controllers/`.

### Initialization
Expand Down

0 comments on commit 947c663

Please sign in to comment.