vue-cliを使ったサンプルコード

yhornisse authored on 26 Dec 2019
public init 4 years ago
src init 4 years ago
.gitignore init 4 years ago
README.md 説明修正 4 years ago
babel.config.js init 4 years ago
package-lock.json init 4 years ago
package.json init 4 years ago
README.md

sample

vue-cliでプロジェクトを作成。

vue create sample

Gitで扱う際はnode_modulesやpackage-lock.jsonなどは入れず、 npm installで初期化する。


Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.