![]() npm i -D we’ll install electron-reload and electron-is-dev for some quality of life improvement during development. Now we’ll install electron as a development dependency. This means that the setup was successful! Set up Electron When you open you should see a default web page. npx degit sveltejs/template svelte_electron Then we install the boilerplate and install all the dependencies. Let’s start by installing degit using npm install -g degit To get started we’ll first be cloning the Svelte boilerplate using a tool called degit. You can follow this tutorial even if you’re not too familiar with Svelte because we’ll just be setting things up for the project here. If you want to learn more about Svelte basics you can check out this tutorial here: Get started with Svelte. We’ll just be going through the basic setup process to give you a starting point to develop desktop applications with Svelte by using Electron. This is a guide to get you up and running with Svelte + Electron. The code for this tutorial can be found here Introduction
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |