mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
💻 | Working so hard on the design review
This commit is contained in:
@@ -13,10 +13,6 @@ const build = {
|
||||
extractCss: true,
|
||||
}
|
||||
|
||||
const generate = {
|
||||
interval: 2000,
|
||||
}
|
||||
|
||||
const pageTransition = {
|
||||
name: 'page',
|
||||
mode: 'out-in',
|
||||
@@ -32,4 +28,6 @@ const components = true
|
||||
|
||||
const buildDir = 'build'
|
||||
|
||||
export default { srcDir, dir, generate, build, pageTransition, target, server, buildDir, components }
|
||||
const ssr = true
|
||||
|
||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr }
|
||||
|
||||
@@ -1,15 +1,4 @@
|
||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||
export default {
|
||||
extend(config: any) {
|
||||
config.module.rules.push({
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-windicss-preprocess',
|
||||
options: {
|
||||
compile: true, // false: interpretation mode; true: compilation mode
|
||||
globalPreflight: true, // set preflight style is global or scoped
|
||||
globalUtility: true, // set utility style is global or scoped
|
||||
prefix: 'windi-' // set compilation mode style prefix
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ const windicss = {
|
||||
],
|
||||
include: []
|
||||
},
|
||||
transformCSS: 'post',
|
||||
transformCSS: 'pre',
|
||||
preflight: {
|
||||
alias: {
|
||||
// add nuxt aliases
|
||||
@@ -32,10 +32,16 @@ const windicss = {
|
||||
}
|
||||
}
|
||||
|
||||
const vite = {
|
||||
vue: {
|
||||
jsx: false
|
||||
}
|
||||
}
|
||||
|
||||
export default [
|
||||
'@nuxt/typescript-build',
|
||||
'@nuxtjs/composition-api',
|
||||
['nuxt-windicss', windicss],
|
||||
'nuxt-vite',
|
||||
//['nuxt-vite', vite],
|
||||
['@nuxtjs/color-mode', color_mode],
|
||||
] as NuxtOptionsModule[]
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
|
||||
export default []
|
||||
export default [
|
||||
{ src: '~/plugins/i18n.ts' }
|
||||
]
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
// Global CSS: https://go.nuxtjs.dev/config-css
|
||||
export default []
|
||||
export default [
|
||||
'@/assets/css/style.scss'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user