GithubHelp home page GithubHelp logo

generator-nuxt-console-template's Introduction

基于vue+nuxt的前端后台管理系统快速生成器


开始安装

首先确保自己已经安装了nodejs

然后安装yeoman

yarn global add yo

然后安装脚手架

yarn global add generator-nuxt-console-template

在自己的空项目中运行:

yo nuxt-console-template

然后就会在此目录下生成以下目录结构:

├── build   // 可以快速生成基础页面
│   ├──  plop    
│   │   ├── page
│   │   └── validate.js
│   ├── inject-env.js
│   ├── plopfile.js
├── src
│   ├── assets
│   ├── components
│   ├── const
│   ├── container
│   ├── directive
│   ├── layouts
│   ├── middleware
│   ├── mixins
│   ├── pages
│   ├── plugins
│   ├── static
│   ├── store
│   └── utils
├── .editorconfig
├── .env.dev
├── .env.prod
├── .eslintrc.js
├── .npmrc
├── .nuxtignore
├── .prettierrc
├── .stylelintrc
├── jsconfig.json
├── nuxt.config.js
├── package.json
└── README.md

然后使用以下命令启动服务:

yarn dev

本项目默认监听端口是3001,所以在浏览器输入 http://localhost:3001 就能看到效果了。

开发完成之后,对项目进行打包,使用以下命令:

yarn build

generator-nuxt-console-template's People

Contributors

njleiyin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.