Example live
$ yarn install
$ yarn run serve
yarn run build
- https://stackoverflow.com/questions/45257308/how-to-display-and-transition-when-scroll-position-reaches-element-position-in-t
- https://stackoverflow.com/questions/47491109/vue-js-transition-to-appear-occur-on-element-entering-viewport/47494016#47494016
- Create a file config
vue.config.js
with the following code:
module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? '/portfolio/'
: '/'
}
- Installed
gh-pages
yarn add gh-pages -D
- Added the script to the package
package.json
"scripts": {
"deploy": "gh-pages -d dist"
}
Copyright (c) @yesworld