-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: new project setup with nuxt and tailwindcss and shadcn
- Loading branch information
Showing
25 changed files
with
5,701 additions
and
3,123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
import { updateAppConfig } from '#app/config' | ||
import { defuFn } from 'defu' | ||
|
||
const inlineConfig = { | ||
"nuxt": {} | ||
} | ||
|
||
// Vite - webpack is handled directly in #app/config | ||
if (import.meta.hot) { | ||
import.meta.hot.accept((newModule) => { | ||
updateAppConfig(newModule.default) | ||
}) | ||
} | ||
|
||
|
||
|
||
export default /*@__PURE__*/ defuFn(inlineConfig) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
export { useScriptTriggerConsent, useScriptEventPage, useScriptTriggerElement, useScript, useScriptGoogleAnalytics, useScriptPlausibleAnalytics, useScriptClarity, useScriptCloudflareWebAnalytics, useScriptFathomAnalytics, useScriptMatomoAnalytics, useScriptGoogleTagManager, useScriptGoogleAdsense, useScriptSegment, useScriptMetaPixel, useScriptXPixel, useScriptIntercom, useScriptHotjar, useScriptStripe, useScriptLemonSqueezy, useScriptVimeoPlayer, useScriptYouTubePlayer, useScriptGoogleMaps, useScriptNpm, useScriptCrisp } from '#app/composables/script-stubs'; | ||
export { isVue2, isVue3 } from 'vue-demi'; | ||
export { defineNuxtLink } from '#app/components/nuxt-link'; | ||
export { useNuxtApp, tryUseNuxtApp, defineNuxtPlugin, definePayloadPlugin, useRuntimeConfig, defineAppConfig } from '#app/nuxt'; | ||
export { requestIdleCallback, cancelIdleCallback } from '#app/compat/idle-callback'; | ||
export { setInterval } from '#app/compat/interval'; | ||
export { useAppConfig, updateAppConfig } from '#app/config'; | ||
export { defineNuxtComponent } from '#app/composables/component'; | ||
export { useAsyncData, useLazyAsyncData, useNuxtData, refreshNuxtData, clearNuxtData } from '#app/composables/asyncData'; | ||
export { useHydration } from '#app/composables/hydrate'; | ||
export { callOnce } from '#app/composables/once'; | ||
export { useState, clearNuxtState } from '#app/composables/state'; | ||
export { clearError, createError, isNuxtError, showError, useError } from '#app/composables/error'; | ||
export { useFetch, useLazyFetch } from '#app/composables/fetch'; | ||
export { useCookie, refreshCookie } from '#app/composables/cookie'; | ||
export { onPrehydrate, prerenderRoutes, useRequestHeader, useRequestHeaders, useResponseHeader, useRequestEvent, useRequestFetch, setResponseStatus } from '#app/composables/ssr'; | ||
export { onNuxtReady } from '#app/composables/ready'; | ||
export { preloadComponents, prefetchComponents, preloadRouteComponents } from '#app/composables/preload'; | ||
export { abortNavigation, addRouteMiddleware, defineNuxtRouteMiddleware, setPageLayout, navigateTo, useRoute, useRouter, onBeforeRouteLeave, onBeforeRouteUpdate } from '#app/composables/router'; | ||
export { isPrerendered, loadPayload, preloadPayload, definePayloadReducer, definePayloadReviver } from '#app/composables/payload'; | ||
export { useLoadingIndicator } from '#app/composables/loading-indicator'; | ||
export { getAppManifest, getRouteRules } from '#app/composables/manifest'; | ||
export { reloadNuxtApp } from '#app/composables/chunk'; | ||
export { useRequestURL } from '#app/composables/url'; | ||
export { usePreviewMode } from '#app/composables/preview'; | ||
export { useRouteAnnouncer } from '#app/composables/route-announcer'; | ||
export { useRuntimeHook } from '#app/composables/runtime-hook'; | ||
export { withCtx, withDirectives, withKeys, withMemo, withModifiers, withScopeId, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, computed, customRef, isProxy, isReactive, isReadonly, isRef, markRaw, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, watch, watchEffect, watchPostEffect, watchSyncEffect, isShallow, effect, effectScope, getCurrentScope, onScopeDispose, defineComponent, defineAsyncComponent, resolveComponent, getCurrentInstance, h, inject, hasInjectionContext, nextTick, provide, mergeModels, toValue, useModel, useAttrs, useCssModule, useCssVars, useSlots, useTransitionState, useId, useTemplateRef, useShadowRoot, Component, ComponentPublicInstance, ComputedRef, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode } from 'vue'; | ||
export { injectHead, useHead, useSeoMeta, useHeadSafe, useServerHead, useServerSeoMeta, useServerHeadSafe } from '@unhead/vue'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Generated by nuxi | ||
/// <reference types="@nuxtjs/tailwindcss" /> | ||
/// <reference types="@nuxt/telemetry" /> | ||
/// <reference types="@nuxt/devtools" /> | ||
/// <reference types="nuxt" /> | ||
/// <reference path="types/app-defaults.d.ts" /> | ||
/// <reference path="types/plugins.d.ts" /> | ||
/// <reference path="types/build.d.ts" /> | ||
/// <reference path="types/schema.d.ts" /> | ||
/// <reference path="types/app.config.d.ts" /> | ||
/// <reference types="vite/client" /> | ||
/// <reference path="types/middleware.d.ts" /> | ||
/// <reference path="components.d.ts" /> | ||
/// <reference path="imports.d.ts" /> | ||
/// <reference path="types/imports.d.ts" /> | ||
/// <reference path="schema/nuxt.schema.d.ts" /> | ||
/// <reference path="types/nitro.d.ts" /> | ||
|
||
export {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export interface NuxtCustomSchema { | ||
|
||
} | ||
export type CustomAppConfig = Exclude<NuxtCustomSchema['appConfig'], undefined> | ||
type _CustomAppConfig = CustomAppConfig | ||
|
||
declare module '@nuxt/schema' { | ||
interface NuxtConfig extends Omit<NuxtCustomSchema, 'appConfig'> {} | ||
interface NuxtOptions extends Omit<NuxtCustomSchema, 'appConfig'> {} | ||
interface CustomAppConfig extends _CustomAppConfig {} | ||
} | ||
|
||
declare module 'nuxt/schema' { | ||
interface NuxtConfig extends Omit<NuxtCustomSchema, 'appConfig'> {} | ||
interface NuxtOptions extends Omit<NuxtCustomSchema, 'appConfig'> {} | ||
interface CustomAppConfig extends _CustomAppConfig {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"id": "#" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 12/7/2024, 8:45:25 PM | ||
const configMerger = require("/Users/colin/development/cofficinado/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/dist/runtime/merger.js"); | ||
|
||
const inlineConfig = {"content":[],"theme":{"extend":{}},"plugins":[]}; | ||
|
||
const config = [ | ||
|
||
].reduce((prev, curr) => configMerger(curr, prev), configMerger(inlineConfig, { content: { files: ["/Users/colin/development/cofficinado/components/**/*.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/components/global/**/*.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/components/**/*.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/layouts/**/*.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/pages/**/*.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/plugins/**/*.{js,ts,mjs}","/Users/colin/development/cofficinado/composables/**/*.{js,ts,mjs}","/Users/colin/development/cofficinado/utils/**/*.{js,ts,mjs}","/Users/colin/development/cofficinado/{A,a}pp.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/{E,e}rror.{vue,js,jsx,mjs,ts,tsx}","/Users/colin/development/cofficinado/app.config.{js,ts,mjs}"] } })); | ||
|
||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
// Generated by nuxi | ||
{ | ||
"compilerOptions": { | ||
"paths": { | ||
"nitropack/types": [ | ||
"../node_modules/.pnpm/[email protected][email protected]/node_modules/nitropack/types" | ||
], | ||
"nitropack": [ | ||
"../node_modules/.pnpm/[email protected][email protected]/node_modules/nitropack" | ||
], | ||
"defu": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/defu" | ||
], | ||
"h3": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/h3" | ||
], | ||
"consola": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/consola" | ||
], | ||
"ofetch": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/ofetch" | ||
], | ||
"@unhead/vue": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@unhead/vue" | ||
], | ||
"@nuxt/devtools": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools" | ||
], | ||
"@vue/runtime-core": [ | ||
"../node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core" | ||
], | ||
"@vue/compiler-sfc": [ | ||
"../node_modules/.pnpm/@[email protected]/node_modules/@vue/compiler-sfc" | ||
], | ||
"unplugin-vue-router/client": [ | ||
"../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]_/node_modules/unplugin-vue-router/client" | ||
], | ||
"@nuxt/schema": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/schema" | ||
], | ||
"nuxt": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt" | ||
], | ||
"~": [ | ||
".." | ||
], | ||
"~/*": [ | ||
"../*" | ||
], | ||
"@": [ | ||
".." | ||
], | ||
"@/*": [ | ||
"../*" | ||
], | ||
"~~": [ | ||
".." | ||
], | ||
"~~/*": [ | ||
"../*" | ||
], | ||
"@@": [ | ||
".." | ||
], | ||
"@@/*": [ | ||
"../*" | ||
], | ||
"#shared": [ | ||
"../shared" | ||
], | ||
"assets": [ | ||
"../assets" | ||
], | ||
"public": [ | ||
"../public" | ||
], | ||
"public/*": [ | ||
"../public/*" | ||
], | ||
"#build": [ | ||
"." | ||
], | ||
"#build/*": [ | ||
"./*" | ||
], | ||
"#app": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/dist/app" | ||
], | ||
"#app/*": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/dist/app/*" | ||
], | ||
"vue-demi": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/dist/app/compat/vue-demi" | ||
], | ||
"#vue-router": [ | ||
"../node_modules/.pnpm/[email protected][email protected][email protected]_/node_modules/vue-router" | ||
], | ||
"#imports": [ | ||
"./imports" | ||
], | ||
"#app-manifest": [ | ||
"./manifest/meta/848c3786-61aa-4c37-a192-b0f9a8acb492.json" | ||
], | ||
"#components": [ | ||
"./components" | ||
] | ||
}, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"target": "ESNext", | ||
"allowJs": true, | ||
"resolveJsonModule": true, | ||
"moduleDetection": "force", | ||
"isolatedModules": true, | ||
"verbatimModuleSyntax": true, | ||
"strict": true, | ||
"noUncheckedIndexedAccess": false, | ||
"forceConsistentCasingInFileNames": true, | ||
"noImplicitOverride": true, | ||
"module": "preserve", | ||
"noEmit": true, | ||
"lib": [ | ||
"ESNext", | ||
"dom", | ||
"dom.iterable", | ||
"webworker" | ||
], | ||
"jsx": "preserve", | ||
"jsxImportSource": "vue", | ||
"types": [], | ||
"moduleResolution": "Bundler", | ||
"useDefineForClassFields": true, | ||
"noImplicitThis": true, | ||
"allowSyntheticDefaultImports": true | ||
}, | ||
"include": [ | ||
"./nuxt.d.ts", | ||
"../.config/nuxt.*", | ||
"../**/*", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/runtime", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/dist/runtime", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools/runtime", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools/dist/runtime", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/telemetry/runtime", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/telemetry/dist/runtime", | ||
".." | ||
], | ||
"exclude": [ | ||
"../dist", | ||
"../node_modules", | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/node_modules", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/dist/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools/dist/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/telemetry/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/telemetry/dist/runtime/server", | ||
"../.output" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"compilerOptions": { | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"noEmit": true, | ||
"target": "ESNext", | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"allowJs": true, | ||
"resolveJsonModule": true, | ||
"jsx": "preserve", | ||
"allowSyntheticDefaultImports": true, | ||
"jsxFactory": "h", | ||
"jsxFragmentFactory": "Fragment", | ||
"paths": { | ||
"#imports": [ | ||
"./types/nitro-imports" | ||
], | ||
"~/*": [ | ||
"../*", | ||
"../*" | ||
], | ||
"@/*": [ | ||
"../*", | ||
"../*" | ||
], | ||
"~~/*": [ | ||
"../*", | ||
"../*" | ||
], | ||
"@@/*": [ | ||
"../*", | ||
"../*" | ||
], | ||
"nitropack/types": [ | ||
"../node_modules/.pnpm/[email protected][email protected]/node_modules/nitropack/types" | ||
], | ||
"nitropack": [ | ||
"../node_modules/.pnpm/[email protected][email protected]/node_modules/nitropack" | ||
], | ||
"defu": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/defu" | ||
], | ||
"h3": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/h3" | ||
], | ||
"consola": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/consola" | ||
], | ||
"ofetch": [ | ||
"../node_modules/.pnpm/[email protected]/node_modules/ofetch" | ||
], | ||
"@unhead/vue": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@unhead/vue" | ||
], | ||
"@nuxt/devtools": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools" | ||
], | ||
"@vue/runtime-core": [ | ||
"../node_modules/.pnpm/@[email protected]/node_modules/@vue/runtime-core" | ||
], | ||
"@vue/compiler-sfc": [ | ||
"../node_modules/.pnpm/@[email protected]/node_modules/@vue/compiler-sfc" | ||
], | ||
"unplugin-vue-router/client": [ | ||
"../node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected][email protected][email protected]_/node_modules/unplugin-vue-router/client" | ||
], | ||
"@nuxt/schema": [ | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/schema" | ||
], | ||
"nuxt": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt" | ||
], | ||
"~": [ | ||
"./.." | ||
], | ||
"@": [ | ||
"./.." | ||
], | ||
"~~": [ | ||
"./.." | ||
], | ||
"@@": [ | ||
"./.." | ||
], | ||
"#shared": [ | ||
"../shared" | ||
], | ||
"assets": [ | ||
"../assets" | ||
], | ||
"public": [ | ||
"../public" | ||
], | ||
"public/*": [ | ||
"../public/*" | ||
], | ||
"#build": [ | ||
"./" | ||
], | ||
"#build/*": [ | ||
"./*" | ||
], | ||
"#internal/nuxt/paths": [ | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/dist/core/runtime/nitro/paths" | ||
], | ||
"#vue-router": [ | ||
"./vue-router" | ||
] | ||
}, | ||
"lib": [ | ||
"esnext", | ||
"webworker", | ||
"dom.iterable" | ||
] | ||
}, | ||
"include": [ | ||
"./types/nitro-nuxt.d.ts", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxtjs/tailwindcss/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected][email protected][email protected]_/node_modules/@nuxt/devtools/runtime/server", | ||
"../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/telemetry/runtime/server", | ||
"./types/nitro.d.ts", | ||
"../**/*", | ||
"../server/**/*" | ||
], | ||
"exclude": [ | ||
"../node_modules", | ||
"../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_rollup@_rrs32rltiaahqy7jjsp7mpun3m/node_modules/nuxt/node_modules", | ||
"../dist" | ||
] | ||
} |
Oops, something went wrong.