luanpanfei in extend.php (new Extend\Frontend('forum')) ->css(DIR.'/less/forum.less') ->js(DIR.'/js/dist/forum.js'), when I npm run dev ,it have forum.js,but not forum.less and prompt: File not found at path: D:\phpstudy_pro\WWW\flarum/less/forum.less, how i solve it?
clarkwinkelmann luanpanfei forum.less is not a compiled file. It's just a plain Less file. You can create it manually. If your extension doesn't need CSS, you can remove the ->css() call.