GithubHelp home page GithubHelp logo

zhaoyiming0803 / vuenode Goto Github PK

View Code? Open in Web Editor NEW
477.0 16.0 146.0 39.45 MB

VueNode is a project of front and backend separation that building on TypeScript + Vue3.x + Node.js + MySQL + TypeORM

License: MIT License

JavaScript 8.74% HTML 0.41% Vue 51.20% CSS 1.30% TypeScript 33.50% Shell 0.29% Less 4.56%
vue3 nodejs vue-router vuex class-validation koajs mysql typeorm typescipt webpack4

vuenode's Introduction

Welcome follow my personal WeChat !

Languages and Tools:

JavaScript TypeScript Vue.js React.js Webpack Node

vuenode's People

Contributors

allcontributors[bot] avatar dependabot[bot] avatar zhaoyiming0803 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vuenode's Issues

npm run dev 报错

(node:8596) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn cmd ENOENT
(node:8596) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

嗯嗯 改了之后可以了> 作者你好,代码clone到本地安装各个依赖后,就执行yarn start 和yarn dev吗,我yarn start启动server报错了 ,tour.sql也导了

作者你好,代码clone到本地安装各个依赖后,就执行yarn start 和yarn dev吗,我yarn start启动server报错了 ,tour.sql也导了

显示:express listen port 8091,说明 node 正常启动了,但是报错 Access denied for user ......,检查下你数据库是否启动并且正确导入了 tour.sql。

Originally posted by @zhaoyiming0803 in #8 (comment)

后端向前端传递数据

您好,想问一下后端向前端传递json数据具体是哪几个文件?想清楚学习一下这一部分

修改server/account/login里向前台返回的数据后,数据请求返回的数据为什么还是{backInfo: "1", id: 1, phone: "18582561486"}不变呢?

修改server/account/login里向前台返回的数据后,数据请求返回的数据为什么还是{backInfo: "1", id: 1, phone: "18582561486"}不变呢?

第32行的res.json,把phone去掉,但是返回数据里还是有phone,请问是什么原因呢?求解答
res.json({
backInfo: '1',
id: data[0].id,
name: data[0].name,
phone: phone
});

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.