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/'
: '/'
}