initialize nuxt project for rank.pompy.dev
This commit is contained in:
parent
0ab70eac57
commit
c481fcf0c1
14 changed files with 5417 additions and 63 deletions
24
apps/rank/.gitignore
vendored
Normal file
24
apps/rank/.gitignore
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Nuxt dev/build outputs
|
||||
.output
|
||||
.data
|
||||
.nuxt
|
||||
.nitro
|
||||
.cache
|
||||
dist
|
||||
|
||||
# Node dependencies
|
||||
node_modules
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
||||
# Misc
|
||||
.DS_Store
|
||||
.fleet
|
||||
.idea
|
||||
|
||||
# Local env files
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
3
apps/rank/app.vue
Normal file
3
apps/rank/app.vue
Normal file
|
@ -0,0 +1,3 @@
|
|||
<template>
|
||||
<NuxtPage />
|
||||
</template>
|
17
apps/rank/nuxt.config.ts
Normal file
17
apps/rank/nuxt.config.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
const title = "pomp's biased & opinionated rankings DB"
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: "2024-11-01",
|
||||
devServer: { port: 3001 },
|
||||
devtools: { enabled: true },
|
||||
app: {
|
||||
head: {
|
||||
title, // default fallback title
|
||||
titleTemplate: `%s | ${title}`,
|
||||
htmlAttrs: {
|
||||
lang: "en",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
17
apps/rank/package.json
Normal file
17
apps/rank/package.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "@pompydev/rank",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"nuxt": "3.16.0",
|
||||
"vue": "3.5.13",
|
||||
"vue-router": "4.5.0"
|
||||
}
|
||||
}
|
10
apps/rank/pages/content-creators.vue
Normal file
10
apps/rank/pages/content-creators.vue
Normal file
|
@ -0,0 +1,10 @@
|
|||
<script setup lang="ts">
|
||||
useHead({
|
||||
title: "Content creators",
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>Content creators ranking</h1>
|
||||
<NuxtLink href="/">Back</NuxtLink>
|
||||
</template>
|
8
apps/rank/pages/index.vue
Normal file
8
apps/rank/pages/index.vue
Normal file
|
@ -0,0 +1,8 @@
|
|||
<template>
|
||||
<h1>
|
||||
pomp's<br />
|
||||
biased & opinionated<br />
|
||||
rankings DB
|
||||
</h1>
|
||||
<NuxtLink href="/content-creators">Content Creators</NuxtLink>
|
||||
</template>
|
BIN
apps/rank/public/favicon.ico
Normal file
BIN
apps/rank/public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
apps/rank/public/robots.txt
Normal file
1
apps/rank/public/robots.txt
Normal file
|
@ -0,0 +1 @@
|
|||
|
3
apps/rank/server/tsconfig.json
Normal file
3
apps/rank/server/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "../.nuxt/tsconfig.server.json"
|
||||
}
|
4
apps/rank/tsconfig.json
Normal file
4
apps/rank/tsconfig.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
// https://nuxt.com/docs/guide/concepts/typescript
|
||||
"extends": "./.nuxt/tsconfig.json"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue