Installing SearchBuilder via importmap
Installing SearchBuilder via importmap
Something seems different about searchbuilder. It's on 1.6, when everything else is on 2.2.
Also, the link to importmap on this page is broken.
https://cdn.datatables.net/searchbuilder/1.6.0/
I'm trying to put a test case together, but since I'm using Symfony's AssetMapper it's hard to recreate on jsdelivr. But I'm installing searchbuilder the same way I install searchpanes. But the import for searchbuilder fails:
import 'datatables.net-select-bs5';
import 'datatables.net-searchpanes-bs5';
import 'datatables.net-searchbuilder-bs5; // <---
FWIW, I'm using jsdelivr, not the datatables cdn.
This question has accepted answers - jump to:
Answers
Can you show me the import map you are using please? Also, what is the error message?
Allan
I'm having trouble posting. Here's the head of the 2 js files:
The importmap:
The message with that.
You are missing a
'
at the end of the import statement. It should be:Allan
DOH! I was on my small-screened laptop without a second monitor, and I guess I just can't see. :-(
Thanks.
No worries
Allan