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,26 +28,76 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
css: ['~/assets/styles/main.scss'],
|
css: ['~/assets/styles/main.scss'],
|
||||||
modules: [
|
modules: ['@bazzite/nuxt-netlify', '@nuxtjs/style-resources', 'nuxt-fontawesome'],
|
||||||
'@nuxtjs/style-resources',
|
|
||||||
[
|
|
||||||
'nuxt-fontawesome',
|
|
||||||
{
|
|
||||||
component: 'fa',
|
|
||||||
imports: [
|
|
||||||
{
|
|
||||||
set: '@fortawesome/free-solid-svg-icons',
|
|
||||||
icons: ['fas']
|
|
||||||
},
|
|
||||||
{
|
|
||||||
set: '@fortawesome/free-brands-svg-icons',
|
|
||||||
icons: ['fab']
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
],
|
|
||||||
styleResources: {
|
styleResources: {
|
||||||
scss: ['assets/styles/variables.scss']
|
scss: ['assets/styles/variables.scss']
|
||||||
|
},
|
||||||
|
|
||||||
|
fontawesome: {
|
||||||
|
component: 'fa',
|
||||||
|
imports: [
|
||||||
|
{
|
||||||
|
set: '@fortawesome/free-solid-svg-icons',
|
||||||
|
icons: ['fas']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
set: '@fortawesome/free-brands-svg-icons',
|
||||||
|
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
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
10
package-lock.json
generated
10
package-lock.json
generated
@@ -901,6 +901,16 @@
|
|||||||
"to-fast-properties": "^2.0.0"
|
"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": {
|
"@csstools/convert-colors": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz",
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
"vue-property-decorator": "^8.4.0"
|
"vue-property-decorator": "^8.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@bazzite/nuxt-netlify": "^0.1.1",
|
||||||
"@nuxt/typescript-build": "^0.5.6",
|
"@nuxt/typescript-build": "^0.5.6",
|
||||||
"@nuxtjs/eslint-config-typescript": "^1.0.2",
|
"@nuxtjs/eslint-config-typescript": "^1.0.2",
|
||||||
"@nuxtjs/google-analytics": "^2.2.3",
|
"@nuxtjs/google-analytics": "^2.2.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user