Open Voiletevergaden opened 3 years ago
hanzi-writer:3.1.0 I opened it in vs code. and run with my default Browser. it' warning: HanziWriter is not defined``
So, in the test.js I added const HanziWriter = require('hanzi-writer');
const HanziWriter = require('hanzi-writer');
it's warning: Uncaught ReferenceError: require is not defined and Failed to load resource: net::ERR_FILE_NOT_FOUND
Uncaught ReferenceError: require is not defined
Failed to load resource: net::ERR_FILE_NOT_FOUND
I already have tried many ways, but it just doesn't work. So somebody can help me, I really don't know how to solve this problem. >_<
hanzi-writer:3.1.0 I opened it in vs code. and run with my default Browser. it' warning: HanziWriter is not defined``
So, in the test.js I added
const HanziWriter = require('hanzi-writer');
it's warning:
Uncaught ReferenceError: require is not defined
andFailed to load resource: net::ERR_FILE_NOT_FOUND
I already have tried many ways, but it just doesn't work. So somebody can help me, I really don't know how to solve this problem. >_<