For gulp version:
$ CLI version: 2.2.0
$ Local version: 4.0.2
For node.js version:
$ v12.16.1
Install node_modules:
$ npm install
For build core app in /build (for production):
$ npm run build
Served in http://localhost:4040
- You can edit gulp-server config in gulpfile.js (gulp task start)
$ npm run start
For live mode:
$ npm run live
In .firebaserc set default with name hosting ( ex: staging-nameproject-admin )
{
"projects": {
"default": "staging-nameproject-admin"
}
}
For deploy general:
$ firebase deploy
For deploy hosting:
$ firebase deploy --only hosting
For deploy functions:
$ firebase deploy --only functions
- index.html (source main page)
- public/ (builded version obtained from the npm build)
- pages/ (custom dashboard.html)
- libs/ (all external libraries used in this template)
- src/ (custom core app, is the work area)
-
- js/ (custom core js libraries)
-
- css/ (custom CSS for AdminLTE)
-
- img/ (custom resourses)
- Gulp - Automate and enhance your workflow
- [Admin LTE 2](