/assets/text/brand.js
const brand = {
agency: {
name: 'Agency',
desc: 'Veluxi Agency - Vue Single Landing Page Template',
prefix: 'veluxi',
footerText: 'Veluxi Theme - All Rights Reserved 2023',
logoText: 'Veluxi Agency',
projectName: 'Agency Theme',
url: 'veluxi.ux-maestro.com/agency',
img: '/static/images/agency-logo.png',
notifMsg:
'Donec sit amet nulla sed arcu pulvinar ultricies commodo id ligula.'
}
}
export default brand
/config/theme.js
/config/theme.txt
theme
value.
For theme color, since nuxt.js cannot import external file in the config,
so please pick and copy manually one of theme value from /config/theme.txt
to /config/vuetify.options.js
in const palette
greenLeaf: {
primary: colors.green.base, // primary main
primarylight: colors.green.lighten4, // primary light
primarydark: colors.green.darken4, // primary dark
secondary: colors.blueGrey.base, // secondary main
secondarylight: colors.blueGrey.lighten4, // secondary light
secondarydark: colors.blueGrey.darken3, // secondary dark
anchor: colors.green.base // link
}
Key | Type | Available Value | Example |
---|---|---|---|
theme.themes: |
Object |
'...palette.oceanBlue' ,
'...palette.greenLeaf' , '...palette.greyscale' ,
'...palette.cloud' , '...palette.violet' ,
etc
|
theme = { ...palette.oceanBlue } |
theme.dark: |
Boolean |
true ,
false
|
dark: true |
rtl: |
Boolean |
true ,
false
|
rtl: true |
// file: plugins/vuetify.js
// Styles
import '@mdi/font/css/materialdesignicons.css';
import 'vuetify/styles';
// Composables
import { createVuetify } from 'vuetify';
import * as components from 'vuetify/components';
import * as directives from 'vuetify/directives';
import { defineNuxtPlugin } from '#app';
import theme from '../config/theme';
export default defineNuxtPlugin(nuxtApp => {
const vuetify = createVuetify({
components,
directives,
ssr: true,
theme: {
options: { customProperties: true },
defaultTheme: 'dark',
themes: {
light: {
colors: {
...theme,
},
},
dark: {
colors: {
...theme,
},
},
},
},
});
nuxtApp.vueApp.use(vuetify);
});
If you change the palette const, don't forget to update this following files as well
** Crytpo Theme:/crypto-theme/components/GradientDeco/GradientDeco.vue
/saas-theme/components/Testimonials/Testimonials.vue
/hosting-theme/components/Banner/Banner.vue
Make sure the const palette has same value as vuetify.options const palette
This template us Vue Youtube a simple vue component acting as a thin layer over the YouTube IFrame Player API. To use this feature we recommend to use https in production. If not there will be some warnings in browser console related cookies and security.
You can disable this feature by open config/youtube.js
then set set use: false
.
/nuxt.config.ts
defaultLocale: 'en'
to other initial locale i.e. id
for Bahasa IndonesiavueI18n: { fallbackLocale: 'en' }
to other fallback locale i.e. id
for Bahasa Indonesiadir: 'rtl'
in app.head.htmlAttrs: { lang: 'ar', dir: 'rtl' }
composables/uiTheme.js
export const useRtl = () => (useState('rtl', () => true));
/static/lang/[localCode]/
└── lang ├── en-US.json └── de-DE.json
/lang/languages.js
export default [
{
code: 'de',
iso: 'de-DE',
name: 'Deutch',
file: 'de-DE.json',
dir: 'ltr'
},
{
code: 'en',
iso: 'eng-US',
name: 'English',
file: 'en-US.json',
dir: 'ltr'
}
]
/componens/Footer.vue
<p>
{{ $t('agencyLanding.footer_paragraph') }}
</p>
npm run dev
.