ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Nuxt.js安装

2022-09-11 14:30:29  阅读:258  来源: 互联网

标签:Use keys js UI arrow 安装 Nuxt


  1. 下载
    npx create-nuxt-app <项目名>
  2. 选项
 Project name: (demo2)//项目名
 Programming language: (Use arrow keys)//语言
> JavaScript
  TypeScript
 Package manager: (Use arrow keys)//包管理器
> Yarn
  Npm
 UI framework: (Use arrow keys)//UI框架
> None
  Ant Design Vue
  BalmUI
  Bootstrap Vue
  Buefy
  Chakra UI
  Element
  Oruga
  Primevue
  Tachyons
  Tailwind CSS
  Windi CSS
  Vant
  View UI
  Vuetify.js
Nuxt.js modules: (Press <space> to select, <a> to toggle all, <i> to invert selection)//Nuxt模块
>( ) Axios - Promise based HTTP client
 ( ) Progressive Web App (PWA)
 ( ) Content - Git-based headless CMS
Linting tools: (Press <space> to select, <a> to toggle all, <i> to invert selection)//代码校验工具
>( ) ESLint
 ( ) Prettier
 ( ) Lint staged files
 ( ) StyleLint
 ( ) Commitlint
Testing framework: (Use arrow keys)//测试框架
> None
  Jest
  AVA
  WebdriverIO
  Nightwatch
Rendering mode: (Use arrow keys)//渲染模式
> Universal (SSR / SSG)
  Single Page App
Deployment target: (Use arrow keys)//部署目标
> Server (Node.js hosting)
  Static (Static/Jamstack hosting)
Development tools: (Press <space> to select, <a> to toggle all, <i> to invert selection)//开发工具
>( ) jsconfig.json (Recommended for VS Code if you're not using typescript)
 ( ) Semantic Pull Requests
 ( ) Dependabot (For auto-updating dependencies, GitHub only)
What is your GitHub username? (苏舒)//username
Version control system: (Use arrow keys)//版本控制工具
> Git
  None
  1. 项目目录
pages 存放页面 相等于views
components 存放组件 
static 静态资源
store vuex
nuxt.config.js 全局配置文件 类似 vue.config.js
plugins UI框架存放目录
  1. 启动项目
cd 项目名
npm run dev
//参与匿名项目改进
i NuxtJS collects completely anonymous data about usage.                                                      14:02:23
  This will help us improve Nuxt developer experience over time.
  Read more on https://git.io/nuxt-telemetry
  ? Are you interested in participating? No
  1. Nuxt不需要配置vue touter 不用引入组件会自动查找组件

标签:Use,keys,js,UI,arrow,安装,Nuxt
来源: https://www.cnblogs.com/gyh907368/p/16683903.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有