@田恩睿 It's probably better to keep the menu where it is, or at least in that file, but play around with the structure and CSS to have a left-side menu.
Right now it is pinned to the top using .navbar-fixed-top
I copied a theme from persona, then rename it (include some value in .json file).
The issue caused -- When I install or unstall pugin (eg. nodebb-plugin-custom-pages), the custom theme will be removed(in other words, the theme reverted to the 4 main theme).
The custom theme is under the path: /nodebb/node_modules
Is there any mistake I maked?
I copied a theme from persona, then rename it (include some value in .json file).
We recommend not doing this, and rather using a child theme. That's not your problem though.
The custom theme is under the path: /nodebb/node_modules
Place your theme somewhere else and then link it into node_modules using npm
cd path/to/nodebb-theme-your-theme
npm link
cd path/to/nodebb
npm link nodebb-theme-your-theme
@pitaj Thanks!
I put the custom theme outside, and linked it. The custom theme have not be removed , but the link will still lost when I install or unstall a pugin
More information My partner have not this issue, and we using different OS (linux & Window 10 )and NodeBB verison(1.16 & 1.17)
29/4 update, the issue will happen on linux
Yeah it's a known issue you'll have to relink sometimes. It depends on what npm version and OS you're using.