Top

Let's begin

Thank you for buying the Lagos admin template

Main dependancies
  • Vue 3.5.4
  • Bootstrap 5.3.2
  • Typescript 4.5.5
  • Scss

Lagos Vue Admin Theme is pure Vue theme, Yes! you read correct, it's No Jquery Vue admin theme including all feature and functionality with ease of integration for your project. Lagos theme documentaition will help you to understand Vue from scratch to making perfect real time dream application.


Follow the documentation carefully for solving your issues in minutes, Apart from that if you don't find solution when you following the docs you can raise a support ticket for your issue from pixelstrap.freshdesk.com


Lagos Admin is a responsive Vue template that is based on the CSS framework Bootstrap 5 and it is built with Sass Sass compiler makes it easier to code and customize. If you are unfamiliar with Bootstrap, visit their website and read through the documentation. All of Bootstrap components have been modified to fit the style of Lagos Admin and provide a consistent look throughout the template.


Before you start working with the template, we suggest you go through the pages that are bundled with the theme. Most of the template example pages contain quick tips on how to create or use a component which can be really helpful when you need to create something on the fly.

Prerequisites

Before you begin, make sure your development environment includes Node and an npm package manager.

1.Node.js

Install Node.js using downloaded file.

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

2.Npm package manager

Vue CLI, and Vue apps depend on features and functionality provided by libraries that are available as npm packages. To download and install npm packages, you must have an npm package manager.

This Quick Start uses the npm client command line interface, which is installed with Node.js by default. To check that you have the npm client installed, run npm -v in a terminal/console window.

For better understanding Vue we suggest you to once go through official documentation of Vue from VueJS.org

Vue setup

If you want Lagos theme setup then directly follow next Lagos setup section

Installing Vue CLI

You use the Vue CLI to create projects, generate application and library code, and perform a variety of ongoing development tasks as it is a progressive framework for building user interfaces.

Install the Vue CLI globally.

To install the CLI using npm, open a terminal/console window and enter the following command:

npm install -g @vue/cli

Create Initial application

1. Run the CLI command vue create and provide the name my-app, as shown here:

vue create my-app

2. The vue create command prompts you for information about features to include in the initial app project. Accept the defaults by pressing the Enter or Return key.

Run Application

1. Go to the workspace folder (my-app).

cd my-app

2. Launch the server by using the CLI command npm start

npm run serve

If you have already download and install node.js and Vue CLI 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.

Vue CLI

Install Vue CLI Using:

npm install -g @vue/cli

Setup Lagos theme by

1) Download and extract an Lagos themes

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 Lagos using below command:

npm run serve

Build Application

1. Build you application for host on server using below command:
npm run build

It will create one dist file in your theme folder. Make zip of dist folder. so here you are ready to upload your theme on server.

If you’re using Apache HTTP Server, you need to create a .htaccess file in the public folder by pastng below code

  • Options -MultiViews
  • RewriteEngine On
  • RewriteCond %{REQUEST_FILENAME} !-f
  • RewriteRule ^ index.html [QSA,L]

Now upload your dist folder on public folder

if you want to add subdirectory for your build then below two step:

1. add your sub directory name in createhistory params in theme > src > router > index.js file like

history: createWebHistory('/lagos/')

2. add your sub directory name in public path in vue.config.js like(

publicPath: "/lagos/"