Skip to content

Commit 947c663

Browse files
committed
Forward slash, not backslash in generated alias
1 parent d67bdd1 commit 947c663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/5.x/extend/plugin-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Don’t move or rename this class or file after [publishing](plugin-store.md) a
152152

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

155-
- 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`.
155+
- 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`.
156156
- 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/`.
157157

158158
### Initialization

0 commit comments

Comments
 (0)