refactor: init packages
This commit is contained in:
@@ -209,11 +209,10 @@ export default {
|
||||
|
||||
// Google Fonts module configuration (https://github.com/nuxt-community/google-fonts-module)
|
||||
googleFonts: {
|
||||
download: true,
|
||||
display: "swap",
|
||||
families: {
|
||||
"Material+Icons": true,
|
||||
Poppins: [400, 500, 600, 700, 800],
|
||||
Montserrat: [400, 500, 600, 700, 800],
|
||||
"Roboto+Mono": true,
|
||||
},
|
||||
},
|
||||
@@ -350,6 +349,7 @@ export default {
|
||||
|
||||
// Build Configuration (https://go.nuxtjs.dev/config-build)
|
||||
build: {
|
||||
transpile: ["three"],
|
||||
// You can extend webpack config here
|
||||
extend(config, { isDev, isClient }) {
|
||||
// Sets webpack's mode to development if `isDev` is true.
|
||||
@@ -374,6 +374,12 @@ export default {
|
||||
exclude: /(node_modules)/,
|
||||
})
|
||||
|
||||
config.module.rules.push({
|
||||
test: /\.geojson$/i,
|
||||
use: { loader: "json-loader" },
|
||||
exclude: /(node_modules)/,
|
||||
})
|
||||
|
||||
config.module.rules.push({
|
||||
test: /\.mjs$/,
|
||||
include: /node_modules/,
|
||||
@@ -419,4 +425,9 @@ export default {
|
||||
MEASUREMENT_ID: process.env.MEASUREMENT_ID,
|
||||
BASE_URL: process.env.BASE_URL,
|
||||
},
|
||||
|
||||
// Router configuration (https://nuxtjs.org/api/configuration-router)
|
||||
router: {
|
||||
linkExactActiveClass: "text-accent bg-primaryDark",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user