Setting up packages and config
parent
2f48233928
commit
56ac00655b
@ -0,0 +1,8 @@
|
||||
.nuxt/
|
||||
|
||||
package.json
|
||||
package-lock.json
|
||||
|
||||
README.md
|
||||
|
||||
.yarnrc.yml
|
||||
@ -0,0 +1,15 @@
|
||||
printWidth: 80
|
||||
tabWidth: 4
|
||||
useTabs: true
|
||||
semi: false
|
||||
singleQuote: true
|
||||
quoteProps: "consistent"
|
||||
jsxSingleQuote: true
|
||||
trailingComma: "es5"
|
||||
bracketSpacing: true
|
||||
bracketSameLine: true
|
||||
arrowParens: "always"
|
||||
htmlWhitespaceSensitivity: "strict"
|
||||
vueIndentScriptAndStyle: false
|
||||
singleAttributePerLine: true
|
||||
plugins: ["prettier-plugin-tailwindcss"]
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<NuxtWelcome />
|
||||
<!-- <NuxtWelcome /> -->
|
||||
<NuxtPage />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
body {
|
||||
@apply bg-primary text-white;
|
||||
}
|
||||
@ -1,4 +1,17 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
|
||||
modules: ['@nuxtjs/tailwindcss', 'nuxt-icon'],
|
||||
tailwindcss: {
|
||||
configPath: './tailwind.config.ts',
|
||||
},
|
||||
typescript: {
|
||||
strict: true,
|
||||
},
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
api: 'http://dev.local:8000/api',
|
||||
url: 'http://dev.local:8000',
|
||||
},
|
||||
},
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [],
|
||||
important: false,
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary: '#0c0c0d',
|
||||
secondary: '#18181b',
|
||||
darkgray: '#121213',
|
||||
lightgray: '#27272a',
|
||||
white: '#e5e7eb',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Reference in New Issue