92 lines
2.3 KiB
JavaScript
92 lines
2.3 KiB
JavaScript
export default {
|
|
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
|
|
ssr: false,
|
|
|
|
// Target: https://go.nuxtjs.dev/config-target
|
|
target: 'static',
|
|
|
|
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
head: {
|
|
title: "S3rius' dev blog",
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: '' },
|
|
{ name: 'format-detection', content: 'telephone=no' },
|
|
],
|
|
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
|
|
},
|
|
|
|
// Global CSS: https://go.nuxtjs.dev/config-css
|
|
css: [
|
|
'~/static/css/syntax-highlighter.scss',
|
|
'~/static/css/global-styles.scss',
|
|
],
|
|
|
|
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
|
|
plugins: [],
|
|
|
|
// Auto import components: https://go.nuxtjs.dev/config-components
|
|
components: true,
|
|
|
|
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
|
|
buildModules: [
|
|
// https://go.nuxtjs.dev/typescript
|
|
'@nuxt/typescript-build',
|
|
// https://go.nuxtjs.dev/stylelint
|
|
'@nuxtjs/stylelint-module',
|
|
'@nuxtjs/composition-api/module',
|
|
],
|
|
|
|
// Modules: https://go.nuxtjs.dev/config-modules
|
|
modules: [
|
|
// https://go.nuxtjs.dev/buefy
|
|
'nuxt-buefy',
|
|
// https://go.nuxtjs.dev/axios
|
|
'@nuxtjs/axios',
|
|
// https://go.nuxtjs.dev/pwa
|
|
'@nuxtjs/pwa',
|
|
// https://content.nuxtjs.org/
|
|
'@nuxt/content',
|
|
],
|
|
|
|
// Axios module configuration: https://go.nuxtjs.dev/config-axios
|
|
axios: {},
|
|
|
|
// PWA module configuration: https://go.nuxtjs.dev/pwa
|
|
pwa: {
|
|
manifest: {
|
|
name: "S3rius' dev blog",
|
|
short_name: "Dev blog",
|
|
lang: 'ru',
|
|
background_color: "#fafdff",
|
|
theme_color: "#fafdff"
|
|
},
|
|
icon: {
|
|
fileName: 'icon.png',
|
|
},
|
|
},
|
|
|
|
// Build Configuration: https://go.nuxtjs.dev/config-build
|
|
build: {},
|
|
|
|
content: {
|
|
markdown: {
|
|
remarkPlugins: [
|
|
'remark-squeeze-paragraphs',
|
|
'remark-slug',
|
|
'remark-external-links',
|
|
'remark-footnotes',
|
|
],
|
|
rehypePlugins: [
|
|
'rehype-sort-attribute-values',
|
|
'rehype-sort-attributes',
|
|
'rehype-raw',
|
|
],
|
|
prism: {
|
|
theme: false,
|
|
},
|
|
},
|
|
},
|
|
}
|