Zenix
Zenix - Crypto NodeJs Admin Dashboard
This documentation is last updated on 03 October 2024.
Thank you for purchasing this node template.
If you like this template, Please support us by rating this template with 5 stars
Installation -
1.- Install Node.js
To compile Sass via the command line first, we need to install node.js. The easiest way is downloading it from the official website nodejs.org open the package and follow the wizard.
2.- Initialize NPM
NPM is the Node Package Manager for JavaScript. NPM makes it easy to install and uninstall third party packages. To initialize a Sass project with NPM, open your terminal and CD (change directory) to your project folder.
npm init
Once in the correct folder, run the command npm init
. You will be prompted to answer several questions about the project, after which NPM will generate a package.json
file in your folder.
3.- Install Node-Sass
Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm install node-sass
npm install node-sass
4.- Write Node-sass Command
Everything is ready to write a small script in order to compile Sass. Open the package.json file in a code editor. You will see something like this:
In the scripts section add an scss command
"scripts": { "sass": "node-sass --watch scss/main.scss css/style.css" },
5.- Run the Script
To execute our one-line script, we need to run the following command in the terminal: npm run sass
npm run sass
6.- Other Option
--source-map
"sass": "node-sass --watch scss/main.scss css/style.css --source-map css/style.css.map"
7.- Project Run Command
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (Lexa-Nodejs-v*/Admin/ ) of the project to run the project locally or build for production use:
Command | Description |
---|---|
npm install --silent
|
This would install all the required dependencies in the
node_modules folder.
|
npm start
|
Runs the project locally, starts the development server. The development server is accessible at http://localhost:3000. |
Folder Directories -
- assets
- css
- icons
- avasta
- feather
- flaticon
- font-awesome-old
- helveticaNeue
- icomoon
- line-awesome
- material-design-iconic-font
- simple-line-icons
- themify-icons
- images
- avatar
- big
- browser
- card
- contacts
- pattern
- product
- profile
- svg
- tab
- table
- js
- dashboard
- plugins-init
- scss
- abstracts
- base
- components
- app
- charts
- forms
- ico
- map
- tables
- uc
- ui
- widget
- layout
- footer
- header
- rtl
- sidebar
- theme
- typography
- version-dark
- version-transparent
- pages
- vendor
- amcharts
- animate
- aos
- apexchart
- bootstrap
- bootstrap4-notify
- bootstrap-daterangepicker
- bootstrap-material-datetimepicker
- bootstrap-multiselect
- bootstrap-select
- bootstrap-tagsinput
- bootstrap-touchspin
- bootstrap-v4-rtl
- chart.js
- chartist
- chartist-plugin-tooltips
- clockpicker
- datatables
- dropzone
- flot
- flot-spline
- fullcalendar
- global
- highlightjs
- jquery
- jquery-asColor
- jquery-asColorPicker
- jquery-asGradient
- jquery-sparkline
- jquery-steps
- jqueryui
- jquery-validation
- jqvmap
- metismenu
- moment
- morris
- nestable2
- nouislider
- peity
- perfect-scrollbar
- pickadate
- raphael
- select2
- summernote
- svganimation
- sweetalert2
- toastr
- wnumb
- src
- routes
- index.js
- config
- constant-array.js
- controllers
- AdminController.js
- AuthenticationController.js
- models
- UserModel.js
- views
- components
- elements
- layouts
- plugins
- pages
- apps
- aikit
- authentication
- dashboard
- . . .
- routes
- index.js
- package.json
- package-lock.json
RTL integration -
Step 1
Change the direction of theme from here. The file path is given below:-
js/deznav-init.js
var dzSettingsOptions = { direction: 'rtl' };
Step 2
scss/main.scss
Uncomment the given files for enable RTL direction
Step 3
To Compile RTL CSS, Change The File Path And Then Compile CSS in package.json
file
"scripts": { "sass": "node-sass --watch scss/main.scss css/style-rtl.css --source-map css/style.css.map" },
Theme Features -
js/deznav-init.js
var dezSettingsOptions = { typography: "poppins", version: "light", layout: "vertical", primary: "color_1", headerBg: "color_1", navheaderBg: "color_1", sidebarBg: "color_1", sidebarStyle: "full", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
Color Theme -
So many color option available
var dezSettingsOptions = { typography: "poppins", More Options => ["poppins" , "roboto" , "Open Sans" , "Helventivca" ] version: "light", More Options => ["light" , "dark"] layout: "horizontal", More Options => ["horizontal" , "vertical"] primary: "color_11", More Options => ["color_1," , "color_2," ..... "color_15"] headerBg: "color_1", More Options => ["color_1," , "color_2," ..... "color_15"] navheaderBg: "color_1", More Options => ["color_1," , "color_2," ..... "color_15"] sidebarBg: "color_11", More Options => ["color_1," , "color_2," ..... "color_15"] sidebarStyle: "compact", More Options => ["full" , "mini" , "compact" , "modern" , "overlay" , "icon-hover"] sidebarPosition: "static", More Options => ["static" , "fixed"] headerPosition: "fixed", More Options => ["static" , "fixed"] containerLayout: "full", More Options => ["full" , "wide" , "wide-box"] direction: direction More Options => ["ltr" , "rtl"] };
var dezThemeSet1 = { typography: "poppins", version: "light", layout: "vertical", headerBg: "color_1", primary: "color_2", navheaderBg: "color_2", sidebarBg: "color_2", sidebarStyle: "full", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet2 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_7", headerBg: "color_1", navheaderBg: "color_7", sidebarBg: "color_1", sidebarStyle: "modern", sidebarPosition: "static", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet3 = { typography: "poppins", version: "light", layout: "horizontal", primary: "color_1", headerBg: "color_1", navheaderBg: "color_1", sidebarBg: "color_3", sidebarStyle: "full", sidebarPosition: "static", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet4 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_9", headerBg: "color_9", navheaderBg: "color_1", sidebarBg: "color_1", sidebarStyle: "compact", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet5 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_7", headerBg: "color_1", navheaderBg: "color_7", sidebarBg: "color_7", sidebarStyle: "icon-hover", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet6 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_1", headerBg: "color_3", navheaderBg: "color_1", sidebarBg: "color_1", sidebarStyle: "mini", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet7 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_2", headerBg: "color_1", navheaderBg: "color_2", sidebarBg: "color_2", sidebarStyle: "mini", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
var dezThemeSet8 = { typography: "poppins", version: "light", layout: "vertical", primary: "color_2", headerBg: "color_14", navheaderBg: "color_14", sidebarBg: "color_2", sidebarStyle: "full", sidebarPosition: "fixed", headerPosition: "fixed", containerLayout: "full", direction: direction };
Plugins included -
-
body-parser
-
express-ejs-layouts
-
express-group-routes
-
amcharts
-
animate
-
apexchart
-
bootstrap
-
bootstrap4-notify
-
bootstrap-daterangepicker
-
bootstrap-material-datetimepicker
-
bootstrap-multiselect
-
bootstrap-select
-
bootstrap-tagsinput
-
bootstrap-touchspin
-
bootstrap-v4-rtl
-
chart.js
-
chartist-plugin-tooltips
-
clockpicker
-
datatables
-
dropzone
-
fullcalendar
-
highlightjs
-
jquery
-
jquery-asColor
-
jquery-asColorPicker
-
jquery-asGradient
-
jquery-sparkline
-
jquery-steps
-
jqueryui
-
jquery-validation
-
metismenu
-
moment
-
nestable2
-
nouislider
-
perfect-scrollbar
-
pickadate
-
select2
-
summernote
-
svganimation
-
sweetalert2
-
Lightgallery
HTML Structure
Header
Footer Section
Footer Essentials
Our Products -
Do You Need Help To Customization
After Purchase A Template...
You Will Start Customizing According Your Requirement
BUT What If You Don't Know
SOLUTION IS HIRE DexignZone
Hire Same Team For Quality Customization
- We Will Customize Template According To Your Requirement
- We Will Upload On Server And Make Sure Your Website is Live