0
0

More than 1 year has passed since last update.

Vue 3.0 composition apiによるAWS サーバーレス開発 シリーズ① フロント側環境設定

Last updated at Posted at 2022-05-23

フロント:Vue.js-cli 3.0 + axios + vue-datepicker + json server

まずフロント側から着手、なんせまず動かすことが大事。

事前作業

Node.js , Vue.js 3.0 cli,Git,json_sever,vs_codeのインストール(いずれ最新のもので良い)

コマンドプロンプトで環境設定

mkdir vue-app
cd vue-app
vue create develop 

Manually select featuresを以下のように選択

select Babel,Router,Vuex,CSS Pre-processors,ESLint+error only,Unit Testing:Jest,E2E:Cypress;
Vue 3.xを選択
残りはすべてEnterキーで完了させる。

cd develop 
npm install axios --save
npm install --save sass-loader node-sass
npm install @vuepic/vue-datepicker

コマンドプロンプトで下記コマンドを実行

npm run serve

image.png
image.png

ここまで表示できれば、フロント側のセットアップ一旦完了となる。お疲れ様でござる!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0