Closed Koepisch closed 1 year ago
<script type="text/typescript" src="../node_modules/@textcomplete/core/src/Textcomplete.ts"></script>
You are attempting to load typescript directly from browser but it is not possible. To fix this issue, I think there are two solutions here:
By the way, if you want to run the demo code locally, there is much easier way to do so: run the demo directly.
git clone https://github.com/yuku/textcomplete.git
cd textcomplete
npm install
npm run lerna bootstrap
npm docs
hope this helps.
Thanks a lot Yuku, That give me some good hints. I will try my best.
That's not an issue - it's a help request.
I'm a beginner in web development and make my first steps. My problem is, that i can't get the demo code running using the following setup:
I cant use "require" or "import" in this environment. I can only use the <Script src .." tag to import the module. The Problem is that "TextareaEditor" isn't properly referenced (Test.html:53 Uncaught ReferenceError: TextareaEditor is not defined at Test.html:53:23)
Please can anybody make a single HTML File which works? Or throw me a few keywords, that i can grasp what the solution is?