docs: improve readme

This commit is contained in:
Sébastien Chopin 2023-11-20 20:02:11 +01:00 committed by GitHub
parent 751dad7d79
commit 07ab072bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,9 @@ It provides a number of features that make it easy to build fast, SEO-friendly,
- Automatic routing with code-splitting - Automatic routing with code-splitting
- State management - State management
- SEO Optimization - SEO Optimization
- Extensible with [100+ modules](https://nuxt.com/modules) - Auto imports
- Deployment to a variety of hosting platforms - Extensible with [180+ modules](https://nuxt.com/modules)
- Deployment to a variety of [hosting platforms](https://nuxt.com/deploy)
- ...[and much more](https://nuxt.com) 🚀 - ...[and much more](https://nuxt.com) 🚀
## Getting Started ## Getting Started
@ -31,6 +32,36 @@ npx nuxi@latest init <my-project>
Discover also [nuxt.new](https://nuxt.new): Open a Nuxt starter on CodeSandbox, StackBlitz or locally to get up and running in a few seconds. Discover also [nuxt.new](https://nuxt.new): Open a Nuxt starter on CodeSandbox, StackBlitz or locally to get up and running in a few seconds.
## Vue Development
Simple, intuitive and powerful, Nuxt lets you write Vue components in a way that makes sense. Every repetitive task is automated, so you can focus on writing your full-stack Vue application with confidence.
Example of an `app.vue`:
```vue
<script setup>
useSeoMeta({
title: 'Meet Nuxt',
description: 'The Intuitive Vue Framework.'
})
</script>
<template>
<div id="app">
<AppHeader />
<NuxtPage />
<AppFooter />
</div>
</template>
<style>
#app {
background-color: #020420;
color: #00DC82;
}
</style>
```
## Documentation ## Documentation
We highly recommend you take a look at the [Nuxt documentation](https://nuxt.com/docs) to level up. Its a great resource for learning more about the framework. It covers everything from getting started to advanced topics. We highly recommend you take a look at the [Nuxt documentation](https://nuxt.com/docs) to level up. Its a great resource for learning more about the framework. It covers everything from getting started to advanced topics.