mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 11:46:37 +08:00
Remove prefix from example
This commit is contained in:
parent
fec32848a4
commit
75fa22e80f
|
@ -27,13 +27,13 @@ For example, to access the Tags extension module within your extension:
|
|||
**forum.js**
|
||||
|
||||
```js
|
||||
import { Tag } from '@flarum/flarum-ext-tags/forum';
|
||||
import { Tag } from '@flarum/tags/forum';
|
||||
```
|
||||
|
||||
**webpack.config.js**
|
||||
|
||||
```js
|
||||
module.exports = config({
|
||||
useExtensions: ['flarum/flarum-ext-tags']
|
||||
useExtensions: ['flarum/tags']
|
||||
});
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user