You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Install `acpl/mobile-tab` as your extension's composer dependency or add it as an [optional dependency](https://docs.flarum.org/extend/extending-extensions/#optional-dependencies) in your `composer.json`.
30
-
2. Add `acpl-mobile-tab` to your extension's **webpack.config.js** to ensure proper bundling:
31
-
```js
32
-
constconfig=require("flarum-webpack-config");
34
+
1. Install `acpl/mobile-tab` as your extension's composer dependency or add it as an [optional dependency](https://docs.flarum.org/2.x/extend/extending-extensions#optional-dependencies) in your `composer.json`.
33
35
34
-
module.exports=config({
35
-
useExtensions: ["acpl-mobile-tab"],
36
-
});
37
-
```
38
-
3. You can now import and use mobile tab components in your extension. Here are some **examples** of how to modify the mobile tab:
36
+
2. You can now import and use mobile tab components in your extension. Here are some **examples** of how to modify the mobile tab:
0 commit comments