Update
This commit is contained in:
parent
6787b446c3
commit
e8db519f28
@ -4,4 +4,4 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 127.0.0.1:3306:3306
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-app-bar fixed app color="primary" dark>
|
<v-app-bar fixed app color="primary" dark>
|
||||||
<v-btn to="/" text rounded>Simple Notes</v-btn>
|
<v-btn to="/" text rounded>Simple Notes</v-btn>
|
||||||
|
<v-btn to="/" text rounded>{{ $colorMode.value }}</v-btn>
|
||||||
<v-spacer />
|
<v-spacer />
|
||||||
<client-only>
|
<client-only>
|
||||||
<v-btn aria-label="theme switcher" icon @click="toggleTheme">
|
<v-btn aria-label="theme switcher" icon @click="toggleTheme">
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
import colors from 'vuetify/es5/util/colors'
|
import colors from 'vuetify/es5/util/colors'
|
||||||
const env = require('dotenv').config().parsed
|
import { config } from 'dotenv'
|
||||||
|
|
||||||
|
const env = config().parsed
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mode: 'universal',
|
mode: 'universal',
|
||||||
@ -54,6 +56,7 @@ export default {
|
|||||||
// Doc: https://github.com/nuxt-community/eslint-module
|
// Doc: https://github.com/nuxt-community/eslint-module
|
||||||
'@nuxtjs/vuetify',
|
'@nuxtjs/vuetify',
|
||||||
'@nuxtjs/eslint-module',
|
'@nuxtjs/eslint-module',
|
||||||
|
'@nuxtjs/color-mode',
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
** Nuxt.js modules
|
** Nuxt.js modules
|
||||||
@ -154,6 +157,31 @@ export default {
|
|||||||
*/
|
*/
|
||||||
build: {
|
build: {
|
||||||
extractCSS: true,
|
extractCSS: true,
|
||||||
|
|
||||||
|
terser: {
|
||||||
|
parallel: true,
|
||||||
|
cache: false,
|
||||||
|
sourceMap: false,
|
||||||
|
extractComments: false,
|
||||||
|
terserOptions: {},
|
||||||
|
},
|
||||||
|
|
||||||
|
html: {
|
||||||
|
minify: {
|
||||||
|
collapseBooleanAttributes: true,
|
||||||
|
decodeEntities: true,
|
||||||
|
minifyCSS: true,
|
||||||
|
minifyJS: true,
|
||||||
|
processConditionalComments: true,
|
||||||
|
removeEmptyAttributes: true,
|
||||||
|
removeRedundantAttributes: true,
|
||||||
|
trimCustomFragments: true,
|
||||||
|
useShortDoctype: true,
|
||||||
|
collapseWhitespace: true,
|
||||||
|
removeComments: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** You can extend webpack config here
|
** You can extend webpack config here
|
||||||
*/
|
*/
|
||||||
|
|||||||
11157
frontend/package-lock.json
generated
11157
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
|||||||
"dev": "nuxt",
|
"dev": "nuxt",
|
||||||
"build": "nuxt build",
|
"build": "nuxt build",
|
||||||
"start": "nuxt start",
|
"start": "nuxt start",
|
||||||
"generate": "nuxt generate",
|
"generate": "nuxt generate --modern",
|
||||||
"serve": "caddy run",
|
"serve": "caddy run",
|
||||||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
|
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user