Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
build: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed Aug 12, 2022
1 parent 1e13f8e commit a287aaf
Showing 1 changed file with 39 additions and 22 deletions.
61 changes: 39 additions & 22 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,45 @@ import pkg from './package.json'
const title = 'Consumer DDR'

export default defineNuxtConfig({
head: {
titleTemplate: `%s - ${title}`,
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: pkg.description }
],
link: [
{ rel: 'icon', sizes: '16x16', type: 'image/png', href: '/icon-16.png' },
{ rel: 'icon', sizes: '32x32', type: 'image/png', href: '/icon-32.png' },
{ rel: 'icon', sizes: '48x48', type: 'image/png', href: '/icon-48.png' },
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png'
},
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'stylesheet',
href: 'https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css'
}
]
app: {
head: {
titleTemplate: `%s - ${title}`,
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: pkg.description }
],
link: [
{
rel: 'icon',
sizes: '16x16',
type: 'image/png',
href: '/icon-16.png'
},
{
rel: 'icon',
sizes: '32x32',
type: 'image/png',
href: '/icon-32.png'
},
{
rel: 'icon',
sizes: '48x48',
type: 'image/png',
href: '/icon-48.png'
},
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png'
},
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'stylesheet',
href: 'https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css'
}
]
}
},
css: ['~/assets/css/main.scss'],
build: {
Expand Down

0 comments on commit a287aaf

Please sign in to comment.