UI developer tutorials and guides

Saturday, August 27, 2022

How to create a Svelte app

 Svelte is a Javascript Framework for create web app. We can create a Svelte web app using Svelte Kit. The prerequisites required are


 

  • Nodejs should be installed on development machine
  • Web browser
  • Code editor , (VS Code recommended)

Create a project

 After setting up the Node and npm package manager you can create new project using the following 

npm create svelte@latest my-app
cd my-app
npm install
npm run dev

Routing

Routing is the individual pages in your web app. For more details on routing and all other matters please visit official docs

 

0 comments:

Post a Comment