Closed wgevaert closed 1 month ago
Hello, you can refer to this thread for more information on how to build: https://github.com/Open-CSP/WikiSearchFront/issues/20
Basically:
npm
needs to be 6.x and not more: npm install npm@6 -g
node
to be on LTS 16.20.0: sudo npm install -g n
and sudo n 16.20.0
.eslintrc.json
, we need to add the following : "root": true,
as per https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScriptnpm run lib
in order to build the dist files
See https://doc.wikimedia.org/mediawiki-core/master/js/mw.html#.hook for hook documentation
I am not sure how compiling works. I get this output when I run
npm install
:When I run second time:
And it creates a vue-project directory?
My npm version: 10.6.0