Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit ed409ea

Browse files
committed
docs: fulfill more sections
1 parent 39d33c0 commit ed409ea

File tree

7 files changed

+43
-6
lines changed

7 files changed

+43
-6
lines changed

content/1.vue/2.reactivity/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Vue Reactivity
2+
3+
// TODO:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Vue Composition API
2+
3+
// TODO:

content/2.concepts/1.intro/index.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,26 @@ ogImage: true
44

55
# Nuxt Concepts
66

7-
- Entry
8-
- Routing
9-
- Auto Imports
10-
- Components
7+
In this chapter, we will cover the core concepts of Nuxt.
8+
9+
Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js. If you are not familiar with Vue.js, we recommend you to start with the [Vue Basics](/vue/intro) section and read the [official Vue documentation](https://vuejs.org/) first.
10+
11+
## Automation and Conventions
12+
13+
Nuxt uses conventions and an opinionated directory structure to automate repetitive tasks and allow developers to focus on pushing features. The configuration file can still customize and override its default behaviors.
14+
15+
- [**File-based routing**](/concepts/routing): define routes based on the structure of your [`pages/` directory](/docs/guide/directory-structure/pages). This can make it easier to organize your application and avoid the need for manual route configuration.
16+
- [**Auto-imports**](/concepts/auto-imports): write Vue composables and components in their respective directories and use them without having to import them with the benefits of tree-shaking and optimized JS bundles.
17+
- **Code splitting:** Nuxt automatically splits your code into smaller chunks, which can help reduce the initial load time of your application.
18+
- **Server-side rendering out of the box:** Nuxt comes with built-in SSR capabilities, so you don't have to set up a separate server yourself.
19+
- **Data-fetching utilities:** Nuxt provides composables to handle SSR-compatible data fetching as well as different strategies.
20+
- **Zero-config TypeScript support:** write type-safe code without having to learn TypeScript with our auto-generated types and `tsconfig.json`
21+
- **Configured build tools:** we use [Vite](https://vitejs.dev) by default to support hot module replacement (HMR) in development and bundling your code for production with best-practices baked-in.
22+
23+
Nuxt takes care of these and provides both frontend and backend functionality so you can focus on what matters: **creating your web application**.
24+
25+
## Getting Started
26+
27+
This playground has Nuxt installed and configured for you, so we could directly start with the creation of our application. If you want to install Nuxt locally on yourself, please follow the [installation guide](https://nuxt.com/docs/getting-started/installation).
28+
29+
To get started, let's learn about how your [Nuxt application entry is defined](/concepts/app-vue).

content/2.concepts/2.app-vue/.template/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ import type { GuideMeta } from '~/types/guides'
22

33
export const meta: GuideMeta = {
44
startingFile: 'app.vue',
5+
features: {
6+
fileTree: true,
7+
},
58
}

content/2.concepts/2.app-vue/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
ogImage: true
33
---
44

5-
# App.vue
5+
# Application Entry
66

7-
[Back to index](/)
7+
To give you the full control of your application, Nuxt allows you to define your down application entry `app.vue` to start minimal (optional).
8+
9+
// TODO:
10+
11+
To get more capabilities of your Nuxt app, let's continue with the [Routing](/concepts/routing) section to learn how we can make our app multi-page.
File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
ogImage: true
3+
---
4+
5+
# Components

0 commit comments

Comments
 (0)