mirror of
https://github.com/GeorgeSG/v0.gar.dev
synced 2025-12-28 21:30:29 +00:00
use @bazzite/nuxt-netlify for _redirects
This commit is contained in:
11
_redirects
11
_redirects
@@ -1,11 +0,0 @@
|
||||
http://gardev.com/* https://gar.dev/:splat 301!
|
||||
https://gardev.com/* https://gar.dev/:splat 301!
|
||||
|
||||
http://www.gardev.com/* https://gar.dev/:splat 301!
|
||||
https://www.gardev.com/* https://gar.dev/:splat 301!
|
||||
|
||||
http://georgi.dev/* https://gar.dev/:splat 301!
|
||||
https://georgi.dev/* https://gar.dev/:splat 301!
|
||||
|
||||
http://www.georgi.dev/* https://gar.dev/:splat 301!
|
||||
https://www.georgi.dev/* https://gar.dev/:splat 301!
|
||||
@@ -28,11 +28,13 @@ export default {
|
||||
]
|
||||
},
|
||||
css: ['~/assets/styles/main.scss'],
|
||||
modules: [
|
||||
'@nuxtjs/style-resources',
|
||||
[
|
||||
'nuxt-fontawesome',
|
||||
{
|
||||
modules: ['@bazzite/nuxt-netlify', '@nuxtjs/style-resources', 'nuxt-fontawesome'],
|
||||
|
||||
styleResources: {
|
||||
scss: ['assets/styles/variables.scss']
|
||||
},
|
||||
|
||||
fontawesome: {
|
||||
component: 'fa',
|
||||
imports: [
|
||||
{
|
||||
@@ -44,10 +46,58 @@ export default {
|
||||
icons: ['fab']
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
netlify: {
|
||||
redirects: [
|
||||
{
|
||||
from: 'http://gardev.com/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'https://gardev.com/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'http://www.gardev.com/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'https://www.gardev.com/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'http://georgi.dev/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'https://georgi.dev/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'http://www.georgi.dev/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
},
|
||||
{
|
||||
from: 'https://www.georgi.dev/*',
|
||||
to: 'https://gar.dev/:splat',
|
||||
status: 301,
|
||||
force: true
|
||||
}
|
||||
]
|
||||
],
|
||||
styleResources: {
|
||||
scss: ['assets/styles/variables.scss']
|
||||
}
|
||||
};
|
||||
|
||||
10
package-lock.json
generated
10
package-lock.json
generated
@@ -901,6 +901,16 @@
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"@bazzite/nuxt-netlify": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@bazzite/nuxt-netlify/-/nuxt-netlify-0.1.1.tgz",
|
||||
"integrity": "sha512-zeiTu780WmloHlG0ZX5vLExUTIF5rC+8LpCkTdCzjS08D6GA4a+IpuX9hM9F9sCmg0MMlLzRrXBZYnobTxmOtQ==",
|
||||
"requires": {
|
||||
"consola": "^2.7.1",
|
||||
"fs-extra": "^8.0.1",
|
||||
"lodash.template": "^4.4.0"
|
||||
}
|
||||
},
|
||||
"@csstools/convert-colors": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz",
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
"vue-property-decorator": "^8.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bazzite/nuxt-netlify": "^0.1.1",
|
||||
"@nuxt/typescript-build": "^0.5.6",
|
||||
"@nuxtjs/eslint-config-typescript": "^1.0.2",
|
||||
"@nuxtjs/google-analytics": "^2.2.3",
|
||||
|
||||
Reference in New Issue
Block a user