Typo.js icon indicating copy to clipboard operation
Typo.js copied to clipboard

All the words are marked false

Open mylesshie opened this issue 2 years ago • 1 comments

In my React App, I use it like this:

var Typo = require("typo-js");
var dictionary = new Typo("en_US", false, false, { dictionaryPath: "typo-js/dictionaries" });

the borwser can load en_us files correctly, but when I use dictionary.check(), all the words return the false.

mylesshie avatar Oct 09 '23 09:10 mylesshie

In my case, the browser did not load the files correctly. So I copied the library dictionaries to the public directory and it's working correctly now

const dictionary = new Typo("en_US");

image

JGuardiola95 avatar Jan 17 '24 16:01 JGuardiola95