- Generate new rails app using
--webpackflag
rails new myApp --webpack=vueNote:
- You can use
--webpack=angularfor angular application and--webpack=reactfor react.
| { | |
| "extends": ["airbnb", "prettier", "prettier/react"], | |
| "plugins": ["prettier"], | |
| "parser": "babel-eslint", | |
| "parserOptions": { | |
| "ecmaVersion": 2016, | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "jsx": true | |
| } |
Install and configure tslint and prettier
yarn global add tslint typescript
tslint --init
yarn add prettier --dev --exact
npm i -D tslint-config-prettiertslint.json
Create the app and download the necessary dependencies.
Use Bitnami Ruby Stack terminal that bitnami installed (you can search this program in installed programs).| #!/bin/bash | |
| # Author: przbadu | |
| # | |
| # Usage: heroku-copy-config <source> <target> | |
| set -e | |
| sourceApp="$1" | |
| targetApp="$2" | |
| config="" |
| ########################### | |
| # Configuration | |
| ########################### | |
| # use 256 term for pretty colors | |
| # set -g default-terminal "screen-256color" # making tmux slow | |
| set -g default-terminal "xterm-256color" | |
| # Enable mouse support | |
| set -g mouse on |