mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
34 lines
717 B
JavaScript
34 lines
717 B
JavaScript
module.exports = {
|
|
/*
|
|
** Headers of the page
|
|
*/
|
|
head: {
|
|
title: 'with-coffee',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: 'Nuxt.js project' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
|
]
|
|
},
|
|
/*
|
|
** Customize the progress bar color
|
|
*/
|
|
loading: { color: '#3B8070' },
|
|
/*
|
|
** Build configuration
|
|
*/
|
|
extensions: ['coffee'],
|
|
build: {
|
|
extend (config, ctx) {
|
|
config.resolve.extensions.push('.ts')
|
|
config.module.rules.push({
|
|
test: /\.coffee$/,
|
|
loader: 'coffee-loader'
|
|
})
|
|
}
|
|
}
|
|
}
|