svelte-electron-template:在电子中使用纤薄的裸露的最小样板

时间:2021-05-25 08:06:13
【文件属性】:
文件名称:svelte-electron-template:在电子中使用纤薄的裸露的最小样板
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-25 08:06:13
electron template boilerplate svelte svelte3 苗条的电子模板 在电子中使用纤薄的裸露的最小样板 快速开始 npm start构建,捆绑和观看svelte应用程序,然后将其作为渲染器线程加载到电子应用程序中。 导入浏览器模块 使用ES6 import 。 模块将捆绑在一起。 // you can import from relative path import MyComponent from './MyComponent.svelte' ; import { myUtilFunc } from './MyUtilFunc' ; // or from node modules import { writable } from 'svelte/store' ; 导入节点模块 使用CommonJS require() 。 这些模块将不会捆绑在一起。 导入将在运行时解决。 const app = require ( 'electron
【文件预览】:
svelte-electron-template-master
----rollup.config.js(889B)
----renderer()
--------dist()
--------src()
----package.json(822B)
----index.html(328B)
----LICENSE(1KB)
----package-lock.json(66KB)
----screenshot.png(23KB)
----main.js(699B)
----.gitignore(35B)
----README.md(874B)
----.vscode()
--------settings.json(130B)

网友评论