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
i copied these two file from node_modules and paste it outside on a folder called distfile.
the code above seems tow work only on one page. and the other page i get the error 404 not found.
i even copied the dict folder from the kuromoji and paste it outside like this as some people mention on other issues. but it doesnt seem to work in my case.
kuroshiro.init(new KuromojiAnalyzer({ dictPath: "dict/" }))
The text was updated successfully, but these errors were encountered:
this code is working on the homepage .
<script type="text/javascript" src="//localhost:3000/wordpress/wp-content/themes/colorswebsite/distfile/kuroshiro.min.js?ver=1.1.0" id="kuroshiro-min-js"></script> <script type="text/javascript" src="//localhost:3000/wordpress/wp-content/themes/colorswebsite/distfile/kuroshiro-analyzer-kuromoji.min.js?ver=1.1.0" id="kuroshiro-analyzer-js"></script>i put the kuroshiro.min.js and kuroshiro-analyzer-kuromoji.min.js on head like this
i copied these two file from node_modules and paste it outside on a folder called distfile.
the code above seems tow work only on one page. and the other page i get the error 404 not found.
i even copied the dict folder from the kuromoji and paste it outside like this as some people mention on other issues. but it doesnt seem to work in my case.
kuroshiro.init(new KuromojiAnalyzer({ dictPath: "dict/" }))
The text was updated successfully, but these errors were encountered: