How to import a NodeJS module in Svelte project?

后端 未结 0 932
一向
一向 2021-02-19 03:08

I\'m new to svelte and I am trying to use an embedded node module \'fs\' in my svelte project:

//main.js
import App from "./App.svelte";
import * as fs          


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