启动Nuxt.js项目的模板
启动Nuxt.js项目的模板,没有一个复杂的干扰的开发环境。
JavaScript Vue.js相关
共588Star
详细介绍
IMPORTANT: This template is deprecated
Please use create-nuxt-app to scaffold your Nuxt applications instead!
Starter
A Nuxt.js starter project template without the distraction of a complicated development environment.
Live demo: https://starter.nuxtjs.org
Prerequisites
Make sure to have node 8.0+
and npm 5.0+
installed
Installation
This is a project template for vue-cli.
$ vue init nuxt-community/starter-template my-project
$ cd my-project
# install dependencies
$ npm install # Or yarn install
Make sure to use a version of vue-cli >= 2.1 (
vue -V
).
Usage
Development
# serve with hot reloading at localhost:3000
$ npm run dev
Go to http://localhost:3000
Production
# build for production and launch the server
$ npm run build
$ npm start
Generate
# generate a static project
$ npm run generate
-
370 Star
-
2415 Star
-
453 Star
-
2 Star
-
2 Star
-
0 Star
-
25 Star
-
259 Star
-
851 Star