Skip to content

Commit

Permalink
Added missing Google Font
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofr committed Nov 23, 2023
1 parent baf8eec commit 7aad083
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
'@nuxtjs/google-fonts'
],
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
googleFonts: {
display: 'swap',
families: {
Poppins: [500, 700],
}
}
})
24 changes: 24 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@gumbo-millennium/eslint-config": "https://github.com/gumbo-millennium/eslint-config/releases/download/v1.0.1/gumbo-millennium-eslint-config.tgz",
"@nuxt/devtools": "^1.0.3",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/google-fonts": "^3.0.2",
"nuxt": "^3.8.2",
"parcel": "^2.10.3",
"postcss": "^8.4.31",
Expand Down

0 comments on commit 7aad083

Please sign in to comment.