Skip to content

Commit

Permalink
feat: add xml sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Jan 11, 2020
1 parent 7700789 commit b2977b6
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 5 deletions.
12 changes: 7 additions & 5 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ module.exports = {
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/eslint-module
'@nuxtjs/eslint-module',
// Doc: https://github.com/nuxt-community/stylelint-module
// '@nuxtjs/stylelint-module',
'@nuxtjs/vuetify',
'@bazzite/nuxt-optimized-images',
Expand All @@ -149,19 +147,19 @@ module.exports = {
** Nuxt.js modules
*/
modules: [
// Doc: https://bootstrap-vue.js.org
'bootstrap-vue/nuxt',
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/pwa',
// Doc: https://github.com/nuxt-community/dotenv-module
'@nuxtjs/dotenv',
'@nuxtjs/markdownit',
'nuxt-fontawesome',
'nuxt-i18n',
'nuxt-webfontloader',
// 'nuxt-purgecss',
'storyblok-nuxt',

// always declare the sitemap module at end of array
'@nuxtjs/sitemap',
],

/*
Expand Down Expand Up @@ -232,6 +230,10 @@ module.exports = {
accessToken: STORYBLOK_TOKEN,
},

sitemap: {
hostname: 'https://daim.dev',
},

vuetify: {
optionsPath: './vuetify.options.js',
// customVariables: ['~/assets/scss/vuetify.scss'],
Expand Down
80 changes: 80 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@nuxtjs/dotenv": "1.4.1",
"@nuxtjs/markdownit": "1.2.7",
"@nuxtjs/pwa": "3.0.0-beta.19",
"@nuxtjs/sitemap": "^2.0.1",
"bootstrap": "4.4.1",
"bootstrap-vue": "2.2.0",
"bootswatch": "4.4.1",
Expand Down

1 comment on commit b2977b6

@vercel
Copy link

@vercel vercel bot commented on b2977b6 Jan 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.