Rendering of 11 nuxt client helloworld

1, the premise of restraint

2, Procedure

  • Create a project:
# 执行此命令,一路回车
vue init nuxt/starter nuxt-demo
# 进入项目路径
cd nuxt-demo
# 下载依赖包
cnpm install
 # 构建
cnpm run build
# 启动
cnpm run start
  • Project structure:
    Project structure
  • Access to start printing the log path, the path of the start of the project is http: // localhost: 3000
    Project Home
    or more is our first demo nuxt of using scaffolding vue created.

Guess you like

Origin www.cnblogs.com/alichengxuyuan/p/12558564.html