Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 972 Bytes

File metadata and controls

59 lines (41 loc) · 972 Bytes

#trinity

##React

###hello-react

create-react-app hello-react --verbose

cd hello-react
npm start

###rails-react

Not using any gems to get things running. Used this article as a guide.

  • Rails 5
  • es6 babel
  • Not a ton of structure out of the box

Vue

###hello-vue

npm install -g vue-cli

  This will install Vue 2.x version of template.

  For Vue 1.x use: vue init webpack#1.0 hello-vue

? Project name hello-vue
? Project description A Vue.js project
? Author Michael A Anderson <usufruct@gmail.com>
? Vue build standalone
? Use ESLint to lint your code? Yes
? Pick an ESLint preset AirBNB
? Setup unit tests with Karma + Mocha? Yes
? Setup e2e tests with Nightwatch? Yes
cd hello-vue
npm install
npm run dev

##Angular 2

###hello-angular

npm install -g angular-cli

ng new hello-angular
cd hello-angular
ng serve