Thursday, March 7, 2019

Vue Starter

#global install
npm install -g @vue/cli

#check version
vue --version

#create app
npm create NameOfApp

#!/usr/bin/env sh

# abort on errors
set -e

# build
npm run build

# navigate into the build output directory
cd dist

# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

# if you are deploying to https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master

# if you are deploying to https://<USERNAME>.github.io/<REPO>
# git push -f git@github.com:<USERNAME>/<REPO>.git master:gh-pages

cd -


No comments:

Post a Comment

V-MODEL .NUMBER SOLVE 1+1=11

facing this problem? So do I. Vuejs already solve this problem by adding .number on v-model https://vuejs.org/v2/guide/forms.html#n...