mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 18:26:17 +03:00
45b6e39b6e
resolves 'Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.'
49 lines
959 B
TypeScript
49 lines
959 B
TypeScript
export default defineNuxtConfig({
|
|
ssr: false,
|
|
modules: [
|
|
'@vueuse/nuxt',
|
|
'@unocss/nuxt',
|
|
'@pinia/nuxt',
|
|
'@vue-macros/nuxt',
|
|
'~/modules/purge-comments',
|
|
],
|
|
experimental: {
|
|
reactivityTransform: true,
|
|
inlineSSRStyles: false,
|
|
},
|
|
css: [
|
|
'@unocss/reset/tailwind.css',
|
|
'floating-vue/dist/style.css',
|
|
'~/styles/vars.css',
|
|
'~/styles/global.css',
|
|
'~/styles/tiptap.css',
|
|
'~/styles/dropdown.css',
|
|
],
|
|
alias: {
|
|
querystring: 'rollup-plugin-node-polyfills/polyfills/qs',
|
|
},
|
|
vite: {
|
|
define: {
|
|
'__BUILD_TIME__': JSON.stringify(new Date().toISOString()),
|
|
'process.env.VSCODE_TEXTMATE_DEBUG': 'false',
|
|
},
|
|
build: {
|
|
target: 'esnext',
|
|
},
|
|
},
|
|
postcss: {
|
|
plugins: {
|
|
'postcss-nested': {},
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
cloudflare: {
|
|
accountId: '',
|
|
namespaceId: '',
|
|
apiToken: '',
|
|
},
|
|
public: {
|
|
translateApi: '',
|
|
},
|
|
},
|
|
})
|