vue todo app
1.0.0
これは、Vue、Vuex、およびElement.uiの統合を実践する簡単なプロジェクトです。
npm install
npm run serve
npm run build
Herokuの私のアプリ:https://vue-todo-test.herokuapp.com/
詳細については、ホスティングに関するWebApp.ioドキュメントをご覧ください。
VUEプロジェクトでgithubページを作成するには:
#! /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 [email protected]:<USERNAME>/<USERNAME>.github.io.git master
# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f [email protected]:OussamaAlouat/vue-todo-app.git master:gh-pages
cd - module . exports = {
baseUrl : process . env . NODE_ENV === 'production'
? '/vue-todo-app/'
: '/'
}