Skip to content

Commit

Permalink
feat: add progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
fzn0x committed Nov 9, 2022
1 parent f58e53d commit 68382f7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 146 deletions.
11 changes: 11 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ export default defineNuxtConfig({
],
modules: [
'@pinia/nuxt',
'nuxt-progress',
],
progress: {
// Default: 2px
height: '5px',
// Default: #29D
color: '#29D',
// NProgress options: https://www.npmjs.com/package/nprogress#configuration
options: {
showSpinner: true
}
},
buildModules: [
'@nuxtjs/google-fonts',
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"bootstrap": "5.2.2",
"bootstrap-icons": "^1.9.0",
"feather-icons": "^4.28.0",
"nuxt-progress": "^0.1.6",
"vue3-apexcharts": "^1.4.1"
},
"devDependencies": {
Expand Down
Loading

1 comment on commit 68382f7

@vercel
Copy link

@vercel vercel bot commented on 68382f7 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.