Skip to content

Commit a1cb0eb

Browse files
committed
Update packages, add scrollto on go to top button.
1 parent a24448b commit a1cb0eb

File tree

7 files changed

+4113
-3163
lines changed

7 files changed

+4113
-3163
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
'@vue/standard'
99
],
1010
rules: {
11-
'brace-style': [2, 'stroustrup', { 'allowSingleLine': true }],
11+
'brace-style': [2, 'stroustrup', { allowSingleLine: true }],
1212
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1313
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
1414
},

babel.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
presets: [
33
'@vue/cli-plugin-babel/preset'
4-
],
5-
sourceType: 'unambiguous'
4+
]
65
}

package-lock.json

Lines changed: 4097 additions & 3149 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
],
1818
"dependencies": {},
1919
"devDependencies": {
20-
"@vue/cli-plugin-babel": "^4.0.5",
21-
"@vue/cli-plugin-eslint": "^4.0.5",
22-
"@vue/cli-service": "^4.0.5",
20+
"@vue/cli-plugin-babel": "^4.1.1",
21+
"@vue/cli-plugin-eslint": "^4.1.1",
22+
"@vue/cli-service": "^4.1.1",
2323
"@vue/eslint-config-standard": "^4.0.0",
2424
"babel-eslint": "^10.0.3",
25-
"babel-polyfill": "^6.26.0",
26-
"core-js": "^3.3.2",
25+
"core-js": "^3.4.8",
2726
"eslint": "^5.16.0",
2827
"eslint-plugin-vue": "^5.0.0",
2928
"node-sass": "^4.13.0",
@@ -37,8 +36,8 @@
3736
"vue-router": "^3.0.3",
3837
"vue-scrollto": "^2.17.1",
3938
"vue-template-compiler": "^2.6.10",
40-
"vuetify": "^2.1.10",
41-
"vuetify-loader": "^1.3.0"
39+
"vuetify": "^2.1.14",
40+
"vuetify-loader": "^1.4.3"
4241
},
4342
"keywords": [
4443
"carousel",

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<noscript>
3131
<strong>We're sorry but Vueper Slides documentation doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
3232
</noscript>
33-
<a name="top"></a>
33+
<a id="top" name="top"></a>
3434
<div id="app"></div>
3535
<!-- built files will be auto injected -->
3636
</body>

src/app.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
router-view
66

77
v-fab-transition
8-
v-btn(color="primary" fixed bottom right fab v-show="!goTopHidden" small href="#top")
9-
v-icon(color="white" size="26") keyboard_arrow_up
8+
v-btn(color="primary" fixed bottom right fab v-show="!goTopHidden" small v-scroll-to="'#top'")
9+
//- Width to prevent ugly first load animation when icon is not yet ready.
10+
v-icon(color="white" size="26" style="width: 24px") keyboard_arrow_up
1011

1112
v-footer.pa-2(color="white")
1213
v-layout.max-widthed(row wrap align-center justify-center)

src/main.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import 'babel-polyfill'
1+
// Polyfill.
2+
import 'core-js/stable'
3+
import 'regenerator-runtime/runtime'
4+
25
import Vue from 'vue'
36
import vuetify from './plugins/vuetify'
47
import App from './app'

0 commit comments

Comments
 (0)