Giter Site home page Giter Site logo

zksp's Introduction

one-million

a single page for zhikang web app

Build Setup

推荐将npm源切换到淘宝镜像:npm set registry https://registry.npm.taobao.org/,具体参考 淘宝NPM镜像

备选使用cnpm(有时候cnpm安装的依赖会出一些诡异的问题,一般还是推荐使用npm),安装方法:npm install -g cnpm --registry=https://registry.npm.taobao.org

node-sass使用npm安装时,由于被墙可能装不上,可以等npm install结束以后,cnpm install node-sass 补装一下

win系统下推荐先安装 Windows-Build-Tools,解决node-sass编译失败的问题

# install dependencies
npm install

# serve with hot reload at localhost:9000
npm start

# start json-server for mocking at localhost:7777
npm run mock

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Development Configuration

编辑器推荐使用 VSCode,搭配插件:Beautify(Alt + Shift + F 格式化当前文档)、Vetur(Vue语法高亮及Snippet),并在用户设置里添加如下配置: { "emmet.syntaxProfiles": { "vue-html": "html", "vue": "html" }, "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, "vetur.format.js.InsertSpaceBeforeFunctionParenthesis": false, "vetur.format.js.InsertSpaceAfterFunctionKeywordForAnonymousFunctions": false }

zksp's People

Contributors

terevor 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.