# Official **Repository Path**: ff-wine/official ## Basic Information - **Project Name**: Official - **Description**: 飞飞酒业官网 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-08 - **Last Updated**: 2022-01-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Official > 使用 Nuxt.js 写的官网 ## Build Setup ```bash # install dependencies $ npm install # serve with hot reload at localhost:3000 $ npm run dev # build for production and launch server $ npm run build $ npm run start # generate static project $ npm run generate ``` ## Nuxt项目创建流程 > 官方:https://www.nuxtjs.cn/guide/installation 1. npx create-nuxt-app <项目名> - Project name: <项目名> - Programming language: JavaScript 选择常用的语言 - Package manager: Npm 选择包管理器 - UI framework 选择常用的UI框架 - Nuxt.js modules: 选择Nuxt模块(Axios/PWA) - Linting tools: 选择编码规范检测语法(ESLint) - Testing framework: 选择测试框架 - Rendering mode: 选择Nuxt模式(SSR) - Deployment target: 选择部署方式(NODE) - Development tools: 选择开发工具(jsconfig.json => VS Code) - Continuous integration: 选择集成(none) - Version control system: 选择版本控制(Git) ## 目录介绍 ├── api -- 接口管理 ├── assets -- 预处理文件 ​ ├── css -- 预处理css文件 ​ ├── img -- 预处理img文件 ├── components -- 组件 ​ ├──global -- 全局组件 ├── layouts -- 默认基础结构/页面布局 ├── middleware -- 中间件 ├── pages -- 页面(文件名对应路由) ​ ├──index.vue -- 首页 ​ ├──about -- 关于我们(对应路由: '/about') ​ ├──news -- 新闻中心(对应路由: '/news') ├── plugins -- 插件 ├── static -- 静态文件(不会被webpack编译) ├── store -- vuex仓库 ├── nuxt.config.js -- Nuxt基础配置 ut the usage of this directory in [the documentation](https://nuxtjs.org/docs/2.x/directory-structure/store).