Frest admin manages all theme js files in
src/js/
folder and users js files inside
assets/js/
folder. Both src/js/
and
assets/
folders can be found in root of the
downloaded package.
Gulp task gulp dist-js
cleans js folder from
app-assets/
folder, copy js files from
src/
folder and minify them.
Heads Up!
It is not recommended to change any JS files inside
src/js/
folder to avoid future update
conflicts. If you still modify the file, it may require to
merge it manually with future updates.
frest-clean-bootstrap-admin-dashboard-template/
├── src/
| ├── js/
| | ├── core/
| | | ├── app-menu.js
| | | ├── app.js
| | └── scripts/
Following is the details of what all js folders.
Folder | Details |
---|---|
core |
Folder contains core libraries and core JS files of
vuexy admin template i.e app.js file for
common app related JS and
app-menu.js file for menu JS.
|
scripts | scripts folder contains all js files that are used to initialize plugins and pages. |
JS files structure for assets/
folder.
Write your custom JS inside
assets/js/scripts.js
file.
Tip
It is recommended to use assets/
folder to
write your scss, css, js. You can also add new assets to
this folder i.e images, libs, etc.
frest-clean-bootstrap-admin-dashboard-template//
├── assets/
| ├── js/
| | └── scripts.js
You can add your new JS files or folder in
assets/
folder to avoid any future conflicts or
merge.