Coder Social home page Coder Social logo

angularjs-es6-webpack2-seed's Introduction

This seed was inspired by [https://github.com/AngularClass/angular2-webpack-starter](AngularClass angular2-webpack-starter) and many more repositories that i can't remember. Mostly the code convention references, Webpack, Unit test configuration setup.

Thanks to those wonderful repositories, A new Awesome AngularJS Starter has been born. (Please nvm this, just kidding)

This seed using: AngularJS 1.5.8 with Component structure (Easy to upgrade to Angular 2), ES6 syntax, Webpack bundler, Bootstrap 4, Sass.. and many more.. Please find out by yourself. This repository is using for my learning and researching.

Feel free to fork or do anything you want.

Or make issues if you found something wrong in my code, i will correct it to make it perfect :D

Require

node >= 6.2.2
npm >= 3.9.5

How to run

$ npm install -g webpack webpack-dev-server
$ npm install

THEME

http://milestone.nyasha.me/latest/angular/

DEVELOPMENT

// Run dev server
$ npm run server

BUILD

// Build
// profile is: production, staging, please change profile config in config/deploy.config.js
$ npm run build:<profile>

DEPLOYMENT

// profile is: production, staging, please change profile config in config/deploy.config.js

// Build and deploy
$ npm run build:deploy:<profile>

// Deploy only
$ npm run deploy:<profile>

Trouble Shooting: Running

  1. Fix npm version: install npm version 3.9.5 by $ npm install -g [email protected]
  2. [$injector:unpr] Unknown provider: eProvider <- e => missing /*ngInject*/

Error while building:

  1. ModuleNotFoundError: Module not found: Error: Can't resolve 'abc' in 'E:...\webapp-starter-angular-bootstrap'
  • module 'abc' never be used, remove 'abc' module from entry (webpack.common.js)

angularjs-es6-webpack2-seed's People

Contributors

daominhsangvn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.