Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dungsil authored Jun 4, 2024
1 parent 0f11e1f commit 3d9477c
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 0 deletions.
75 changes: 75 additions & 0 deletions nuxt-fonts-171/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
9 changes: 9 additions & 0 deletions nuxt-fonts-171/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
srcDir: 'src',

css: ['assets/css/global.css'],

devtools: { enabled: true },
modules: ['@nuxt/fonts'],
})
18 changes: 18 additions & 0 deletions nuxt-fonts-171/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@nuxt/fonts": "^0.7.0",
"nuxt": "^3.11.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
}
}
5 changes: 5 additions & 0 deletions nuxt-fonts-171/src/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div>
<NuxtWelcome />
</div>
</template>
8 changes: 8 additions & 0 deletions nuxt-fonts-171/src/assets/css/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

body {
font-family: Inter, sans-serif;
}

body {
font-family: Pretendard, sans-serif;
}
Binary file not shown.
Binary file added nuxt-fonts-171/src/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions nuxt-fonts-171/src/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../../.nuxt/tsconfig.server.json"
}
4 changes: 4 additions & 0 deletions nuxt-fonts-171/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}

0 comments on commit 3d9477c

Please sign in to comment.