-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
56 lines (55 loc) · 2.25 KB
/
nuxt.config.ts
File metadata and controls
56 lines (55 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { defineNuxtConfig } from "nuxt/config";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
typescript: {
strict: true,
typeCheck: true
},
modules: [
'@nuxtjs/tailwindcss',
],
components: {
dirs: [
'~/components',
'~/components/mp'
]
},
tailwindcss: {
config: {
plugins: [require('daisyui')]
}
},
compatibilityDate: '2025-02-26',
css: [
'@/assets/css/fonts.css',
"maplibre-gl/dist/maplibre-gl.css",
'@/assets/css/styles.css'
],
app: {
head: {
title: 'ติดตามเท้งทั่วไทย พรรคประชาชน', // Default title
meta: [
{ name: 'description', content: 'สรุปผลการเดินทางของหัวหน้าพรรคประชาชน' },
{ property: 'og:title', content: 'ติดตามเท้งทั่วไทย พรรคประชาชน' },
{ property: 'og:description', content: 'สรุปผลการเดินทางของหัวหน้าพรรคประชาชน' },
{ property: 'og:image', content: 'https://tourthai.peoplesparty.or.th/images/thumbnail-somtourthai.png' }, // Path to your thumbnail image
{ property: 'og:type', content: 'website' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' }, // Prevent zoom on input focus
{ name: 'author', content: 'PPLE Team' }, // Optional: Specify the author or organization
{ name: 'theme-color', content: '#ff6a13' }, // Theme color for mobile browsers
{ name: 'keywords', content: 'Hackable City, PPLE, เมือง, ระบบจัดเก็บข้อมูล' }, // Keywords for SEO
{ property: 'og:locale', content: 'th_TH' }, // Specify the locale if targeting Thai users
{ property: 'og:url', content: 'https://tourthai.peoplesparty.or.th' } // Replace with your actual URL
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
},
},
runtimeConfig: {
public: {
apiTengData: process.env.API_TENG_DATA || ''
}
},
});