This template is a fork of Start Bootstrap SB Admin 2 which got adapted for Angular 2. For details on the template itself, please goto to the original repository BlackrockDigital/startbootstrap-sb-admin-2.
- Angular 2 (variants for all sites, routing, ect.)
- Typescript 2
- Sass variants of the css
- gulp scripts to build, minify, live-editing, ect.
- morris.js and flot support
- datatables support
- additional simple alerting service
- Clone the repo:
git clone https://github.com/siglocpp/sb-admin2-angular2.git
npm install
should install all dependenciesgulp serve
compiles an moves everything to the dist folder, and opens your browser with live-editing version of SB-Admin
- At
package.json
: remove the following entries from dependencies :flot
andflot-tooltip
- At
gulpfile.config.json
: remove the following entries fromvendor/src
:
node_modules/Flot/excanvas.js
node_modules/Flot/jquery.flot.js
node_modules/Flot/jquery.flot.pie.js
node_modules/Flot/jquery.flot.resize.js
node_modules/Flot/jquery.flot.time.js
node_modules/jquery.flot.tooltip/js/jquery.flot.tooltip.js
- At
package.json
: remove the following entries from dependencies :raphael
andmorris
- At
gulpfile.config.json
: remove the following entries fromvendor/src
:
node_modules/eve-raphael/eve.js
node_modules/raphael/raphael.js
node_modules/morris.js/morris.js
- At
glob/index.scss
: remove the following@import
:../../node_modules/morris.js/morris
- At
gulpfile.config.json
: remove the following entry fromassets
:
{
"src": [
"node_modules/bootstrap-sass/assets/fonts/bootstrap/*.*"
],
"target": "dist/fonts/bootstrap",
"flatten": [0, 0]
}
- At
package.json
: remove the following entry from dependencies :font-awesome
- At
gulpfile.config.json
: remove the following entry fromassets
:
{
"src": [
"node_modules/font-awesome/fonts/*.*"
],
"target": "dist/fonts",
"flatten": [0, 0]
}
- At
glob/index.scss
: remove the following@import
:../../node_modules/font-awesome/scss/font-awesome
- At
package.json
: remove the following entries from dependencies :
datatables.net
datatables.net-bs
datatables.net-responsive
datatables.net-responsive-bs
- At
gulpfile.config.json
: remove the following entries fromvendor/src
:
"node_modules/datatables.net/js/jquery.dataTables.js"
"node_modules/datatables.net-bs/js/dataTables.bootstrap.js"
"node_modules/datatables.net-responsive/js/dataTables.responsive.js"
"node_modules/datatables.net-responsive-bs/js/responsive.bootstrap.js"
- At
gulpfile.config.json
: remove the following entries fromassets
:
{
"src":[
"node_modules/datatables.net-bs/css/*.*"
],
"target":"dist/css",
"flatten":[ 0, 0]
}
{
"src":[
"node_modules/datatables.net-responsive-bs/css/*.*"
],
"target":"dist/css",
"flatten":[ 0, 0]
}
- At
glob/index.scss
: remove the following@import
:../../node_modules/datatables.net-bs/css/dataTables.bootstrap
and../../node_modules/datatables.net-responsive-bs/css/responsive.bootstrap
gulp serve
: performs a full build, starts browsersync and watches for html, ts and scss changes for life editing.gulp build
: performs a full build without minifying the java script (used bygulp serve
)gulp release
: performs a full build and minifies the java script (and some additional folder clean up)
For more details please look into: gulpfile.js
and it's config gulpfile.config.js
This copyright and license are as provided by the original repository
Copyright 2013-2016 Blackrock Digital LLC. Code released under the MIT license.