Rails 5.1 beta on webpacker and angular cli.
rails new rails-webpacker-ng-cli
cd rails-webpacker-ng-cli
bundle exec rails webpacker:install
bundle exec rails webpacker:install:angular
bundle exec rails g controller pages index
bin/webpack
bundle exec rails s
// create ng cli project
mv package.json package2.json
cd app/javascript
../../node_modules/.bin/ng new hello-ng-cli --style=scss
rm -fr hello-ng-cli/node_modules
cd -
mv package2.json package.json
bin/webpack
bundle exec rails s
CMD | webpacker | NgCli |
---|---|---|
Run build | OK | Conflict |
Run ng | Conflict | |
Run test | OK | |
Run e2e | Conflict | |
Run lint | OK |
based on ngcli
npm run test
based on ngcli
npm run lint
- Ruby on Rails - The web framework used
- angular-cli - CLI tool for Angular used
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- smapira - Initial work - smapira
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details