wuyanping / nuxt-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuxt2 + element dashboard

Docs

For detailed explanation on how things work, checkout the Nuxt.js docs.

Build Setup

# install dependencies  
$ yarn

# serve with hot reload at localhost:3000
# using mock api to develop
$ yarn mock

# using mock api to develop which doesn't need login
$ yarn mock:nologin

# using backend api to develop
$ yarn dev

# build for production
$ yarn build

code style

when you npm i or yarn, prettier has already installed

the configuration file is .prettierrc

Pre-commit Hook use pretty-quick, maybe commit in terminal will be better, in IDE like webstorm it may get confused behavioršŸ˜•

About


Languages

Language:Vue 60.4%Language:JavaScript 37.3%Language:CSS 2.3%