Initial React project
This commit is contained in:
@@ -1,37 +1,7 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import Sitemap from 'vite-plugin-sitemap';
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react(),
|
||||
Sitemap({
|
||||
hostname: 'https://www.arbejd.com',
|
||||
dynamicRoutes: [
|
||||
'/home',
|
||||
'/for-jobsogere',
|
||||
'/for-virksomheder',
|
||||
'/pricing',
|
||||
'/kontakt',
|
||||
'/faq',
|
||||
'/privatlivspolitik',
|
||||
'/jobordbogen',
|
||||
'/stories',
|
||||
'/newsletter',
|
||||
],
|
||||
changefreq: {
|
||||
'*': 'weekly',
|
||||
'/privatlivspolitik': 'yearly',
|
||||
},
|
||||
priority: {
|
||||
'*': 0.7,
|
||||
'/': 1.0,
|
||||
'/home': 0.9,
|
||||
'/for-jobsogere': 0.9,
|
||||
'/pricing': 0.8,
|
||||
},
|
||||
generateRobotsTxt: true,
|
||||
readable: true,
|
||||
}),
|
||||
],
|
||||
});
|
||||
plugins: [react()],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user