189 8069 5689

怎么使用npx创建一个Nuxt.js项目

本篇内容介绍了“怎么使用npx创建一个Nuxt.js项目”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

10多年的许昌网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。成都全网营销推广的优势是能够根据用户设备显示端的尺寸不同,自动调整许昌建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。创新互联建站从事“许昌网站设计”,“许昌网站推广”以来,每个客户项目都认真落实执行。

$ npx create-nuxt-app my-first-nuxtjs

npx: 401 安装成功,用时 43.891 秒

> Generating Nuxt.js project in /Users/popgis/projects/my-first-nuxtjs

? Project name my-first-nuxtjs

? Project description A Nuxt.js application for test.

? Use a custom server framework express

? Use a custom UI framework element-ui

? Choose rendering mode Universal

? Use axios module yes

? Use eslint yes

? Use prettier yes

? Author name popgis

? Choose a package manager npm

Initialized empty Git repository in /Users/popgis/projects/my-first-nuxtjs/.git/

> fsevents@1.2.4 install /Users/popgis/projects/my-first-nuxtjs/node_modules/fsevents

> node install

[fsevents] Success: "/Users/popgis/projects/my-first-nuxtjs/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed

Pass --update-binary to reinstall or --build-from-source to recompile

> nodemon@1.18.5 postinstall /Users/popgis/projects/my-first-nuxtjs/node_modules/nodemon

> node bin/postinstall || exit 0

> nuxt@2.2.0 postinstall /Users/popgis/projects/my-first-nuxtjs/node_modules/nuxt

> opencollective || exit 0

                                     :=.                    

                                   -=+=:   :-              

                                 .-=+++=: :++=.            

                                 .-+++++++=++++=.           

                               .=+++++++****++++.          

                               :=+++++++******++*+:         

                             :=+++++++********++*+:        

                             :=+++++++**********++*+-       

                           -=+++++++*************+*+-.     

                         .-=======+**************++++=.    

                         .........::::::::::::::::::::.    

                         Thanks for installing nuxtjs ????

                 Please consider donating to our open collective

                        to help us maintain this package.

                           Number of contributors: 152

                              Number of backers: 127

                             Annual budget: US$30,663

                            Current balance: US$5,806

           ????  Donate: https://opencollective.com/nuxtjs/donate

npm notice created a lockfile as package-lock.json. You should commit this file.

npm WARN eslint-plugin-vue@4.7.1 requires a peer of eslint@^3.18.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN acorn-jsx@5.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

added 1111 packages from 543 contributors and audited 14617 packages in 59.616s

found 0 vulnerabilities

  To get started:

    cd my-first-nuxtjs

    npm run dev

  To build & start for production:

    cd my-first-nuxtjs

    npm run build

    npm start

“怎么使用npx创建一个Nuxt.js项目”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注创新互联网站,小编将为大家输出更多高质量的实用文章!


名称栏目:怎么使用npx创建一个Nuxt.js项目
当前网址:http://cdxtjz.cn/article/gshhjp.html

其他资讯