Angular2 boilerplate using AdminPlus Lite, Bootstrap Layout and ng2-bootstrap-layout.
You can see a working live demo of this boilerplate.
git clone https://github.com/themekit/adminplus-boilerplate-angular2.git my-projectcd my-projectInstall
gulp:
npm install -g gulpInstall application dependencies:
npm installThe following will make an initial build and then serve the application on
http://localhost:3000.
It will also watch
./app/**/*.tsand recompile the TypeScript to./assets/js, watch./assets/sass/**/*and recompile the Sass to./assets/cssand watchindex.html,systemjs.config.js,./assets/**/*.jsand./assets/**/*.cssfiles and inject any changes into your browser automatically.
npm startgulp buildNODE_ENV=production gulp releaseTo use the production bundle, uncomment the following in
./index.html, before the call toSystem.import('app'):
<!-- Production Bundle -->
<script src="assets/js/app.bundle.js"></script>