Top

Installation

This page has all the information you will need to set up your project. Here, you will get to know what the things are that you will need to install before you start working on your project. Make sure you don't miss a single step.

Prerequisites

You will need the svelte installation on your server.

For Windows

Step 1: install Svelte

Make sure the newest version is installed.

https://www.npmjs.com/package/svelte

For Linux

To Install Svelte, first Apache2 is installed on your serve.

Step 1: Update your system

Update your system by executing the below given command in your terminal.

sudo apt-get update

Step 2: Install Svelte

Although you already have Svelte installed in your system, as it is included while installing any linux based os, but if it is not included run the following command to install Svelte.

npm i svelte

As most web apps use some Svelte extensions, install the most common ones using the command below.

npx degit sveltejs/template moz-todo-svelte
                                

Check the version of Svelte through this command:

Svelte -v

Cuba theme

If you have already download and install node.js then ignore prerequisites accordingly.


Node.js

Download latest version of node.js from nodejs.org.

Install Node.js using downloaded file

To check your node version, run node -v in a terminal/console window.

Setup Cuba theme by

1. Download and extract an Cuba themes from themeforest

2. Extract it and then go in to theme folder.

cd theme

3. Import all dependency by installing npm command

npm install

4.Now you are in stage to successfully run Cuba using below command:

npm run dev