# ssr-nuxt-conmuunity
**Repository Path**: DoraZC/ssr-nuxt-conmuunity
## Basic Information
- **Project Name**: ssr-nuxt-conmuunity
- **Description**: 练手demo
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2021-11-24
- **Last Updated**: 2024-10-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ssr-nuxt-conmuunity
安装:
npx create-nuxt-app@2.9.2
choose rendering mode Universal (ssr)
> My dandy Nuxt.js project
## Build Setup
``` bash
# install dependencies
$ npm run install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
生命周期
nuxtServerInit
middleware
中间件执行流程顺序:
nuxt.config.js->匹配布局->匹配页面
validate
参数校验 校验失败 则自动跳转到错误页面
路由
约定式
展示区:
声明式跳转: 评论详情
评论详情02
name:路由名 目录名-其他目录名-文件名
params:key 要对等文件名
子路由:
目录代表子路由,子路由内部同级的文件,代表是同级一级路由
配置
# generate static project
# ssr-nuxt-conmuunity
#### 介绍
练手demo
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
$ npm run generate
```
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).