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
{{ message }}
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
When I follow step 1a), there is not one js file created.
Could that have something to do with the folder structure of mm? It stores the js files in /assets/js. I already tried to change the folder to /assets/js in the _config.yml but that does not seem to help.
It seems in mm the jquery files are safed a bit different, so I put the files like this:
/assets/js |
_main.js
main.min.js
lunr.min.js
search.js
search.min.js
plugins|
jquery.lunr.search.js
But no index.json file is created.
I also saw this in the package.json file:
scripts": {
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"add-banner": "node banner.js",
"watch:js": "onchange "assets/js/**/*.js" -e "assets/js/main.min.js" -- npm run build:js",
"build:js": "npm run uglify && npm run add-banner"
},
I am not very much into javascript so I do not see what has to be done here. Very sorry to ask this here and thanks!
The text was updated successfully, but these errors were encountered:
Hello,
so I know this is very specific but the search does not seem to work properly in the minimal-mistakes theme (https://github.com/mmistakes/minimal-mistakes).
When I follow step 1a), there is not one js file created.
Could that have something to do with the folder structure of mm? It stores the js files in /assets/js. I already tried to change the folder to /assets/js in the _config.yml but that does not seem to help.
It seems in mm the jquery files are safed a bit different, so I put the files like this:
/assets/js |
But no index.json file is created.
I also saw this in the package.json file:
scripts": {
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
"add-banner": "node banner.js",
"watch:js": "onchange "assets/js/**/*.js" -e "assets/js/main.min.js" -- npm run build:js",
"build:js": "npm run uglify && npm run add-banner"
},
I am not very much into javascript so I do not see what has to be done here. Very sorry to ask this here and thanks!
The text was updated successfully, but these errors were encountered: