jekyll-theme-chirpy icon indicating copy to clipboard operation
jekyll-theme-chirpy copied to clipboard

modified javascript file is not being applied

Open junvue opened this issue 2 years ago • 3 comments

Checklist

  • [x] I have read the newlest tutorials and know the correct effect of the functional design.
  • [x] There is no similar question on existing issues (including closed ones).
  • [x] I have tried to find the answer on Jekyll Forum and StackOverflow.
  • [ ] My question is based on the latest code of the master branch.

Description

I just modified _javascript/commons/search-display.js.

to try addClass "visible" on some tag that I added. But It seems like doesn't work.

So I add "console.log("hi");" to check, But It doesn't work.

How do I apply modified javascript? Do I need to rebuild or something?

junvue avatar Jun 29 '22 14:06 junvue

:wave: Hi @junvue,

This issue is being automatically closed because it does not follow the issue template. Please DO NOT open another similar issue, try to edit the current issue according to the template, then it will be reopened automatically.

github-actions[bot] avatar Jun 29 '22 15:06 github-actions[bot]

The scripts that actually work are these *.min.js under assets/js/dist/. Update them by:

npm install -g gulp   # in order to install gulp, no need to execute each time
gulp

NichtsHsu avatar Jul 20 '22 01:07 NichtsHsu

ah, It's using gulp. I see.

I didn't know it. 😂 Thx:)

junvue avatar Jul 20 '22 09:07 junvue

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 02 '22 05:09 stale[bot]