Setup
Introduction
Axetic is build in ASP.NET Core 8 web app using Visual Studio 2022. Please follow below steps to install and setup all prerequisites:
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
Visual Studio
Make sure to have the Latest Visual Studio installed & running on your computer. If you already have installed latest Visual Studio on your computer, you can skip this step.
-
Yarn
Make sure to have the Yarn installed & running in your computer. If you already have installed Yarn on your computer, you can skip this step. We suggest you to use Yarn instead of NPM.
-
Nodejs
Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node letest version 20*.
-
Gulp
Make sure to have the Gulp installed & running in your computer. If you already have installed gulp on run command
npm install -g gulp
from your terminal. -
Git
Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
Installation
To setup the admin theme, follow below-mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer
After you finished with the above steps, you can run the following commands to run the project locally or build for production use:
Command | Description |
---|---|
Open Solution file
|
Open Axetic.sln file with Visual studio and make sure to check asstes folder contain libs folder. |
Note
To change the theme of the project, make the necessary modifications in the SCSS (Sass) files.
After making the changes, go to the terminal and run the commands "yarn" and "gulp" to apply the changes.
Light Version
Keep your body element with data attribute
data-layout-mode="light"
E.g.
<body data-layout-mode="light">
to
have light layout.
Dark Version
Keep your body element with data attribute
data-layout-mode="dark"
E.g.
<body data-layout-mode="dark">
to
have dark layout.
RTL Version
To have rtl layout enabled, replace the reference of
app.min.css
to
app-rtl.min.css
and
bootstrap.min.css
to
bootstrap-rtl.min.css
and in the Views/Shared/_Layout.cshtml
file update the html tag like <html lang="en" dir="rtl">