Importing external libraries like node.js special syntax

前端 未结 0 522
慢半拍i
慢半拍i 2021-01-01 01:37

I\'m trying to use an external library in Svelte whose instructions are for node.js, for example:

var lunr = require("lunr")
require("lunr-lang         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题