IT分からんわ~_~;

IT色々お勉強中のブログ

vueを導入

qiita.com

こいつ参考に、少し違ったとこを

rails webpacker:install
Webpacker requires Node.js >= 6.0.0 and you are using 5.7.0
Please upgrade Node.js https://nodejs.org/en/download/

nodeバージョン違うerror出たので

nodebrew install-binary v6.1.0
nodebrew use v6.1.0
rails webpacker:install
rails webpacker:install:vue
bin/webpack-dev-server

またエラーが出る

Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.

言われた通りに実行

bundle binstub bundler --force
The git source `git://github.com/rails/webpacker.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.

techracho.bpsinc.jp

アクセスするとまたエラー

undefined method `javascript_pack_tag' for #<#<Class:0x00007fe00d49a9b8>:0x00007fe00d498500>

rails再起動すると出るように出来た

参考

aloerina01.github.io