How to use Node+MySQL+express to add, delete, modify and query
First of all, thank you for this little sister's video: Bili bilibili - very poor female programmer
List structure attached:
1, Development preparation
Node installation and configuration
MySQL installation and configuration
Database visualization tools: Navcat
Interface t ...
Posted by ukspudnie on Tue, 09 Jun 2020 07:08:23 +0200
Basic use of dayjs time processing library
Day.js Is a lightweight JavaScript time and date processing library, and Moment.js The API design of is consistent.
This article only introduces some common operations. For details of internationalization, plug-ins, customization and other advanced contents, please refer to the official documents.
Its main characteristics are as follows:
A ...
Posted by bond00 on Wed, 03 Jun 2020 18:23:55 +0200
redux source code interpretation (2)
(1) A simple version of redux is written in. The tests are all directly based on the command line output. Obviously, this is unscientific
So you need to write tests, so. I chose jest.
The introduction on the Internet is as follows .
Configure simple test environment according to official documents
npm install --save-dev jest
Add th ...
Posted by holowugz on Sun, 03 May 2020 19:17:48 +0200
gulp configuration es6 to es5
1. New Project
The project structure is as follows:
/app
-- /js
-- /css
/dist
-- /js
-- /css
-- index.html
gulpfile.js
Our code is developed in the / app directory and saved in / dist after transcoding, merging, compressing.
2. Configuring the environment
(1) Initialize npm
First enter the root directory and initialize the project
npm ...
Posted by Frozenlight777 on Sun, 03 May 2020 11:35:14 +0200
Vue router nested route
1, Foundation
install
$ npm install vue //Install vue
$ npm install vue-router //Install Vue router
Or quote < script >
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
I'm referring to script directly in HTML here
Catalog
index.ht ...
Posted by walter8111 on Thu, 30 Apr 2020 22:26:49 +0200
Angular2 configuration Electron project (desktop cross platform)
Electron A desktop cross platform framework. In order to be able to use TypeScript for development, so the integration of configuration
Configuration process
To create an Angular2 project
ng new ang-electron2
*cd enters the project file after creation
npm install electron --save-dev --save-exact
In the project, we need to Electro ...
Posted by Redlightpacket on Thu, 30 Apr 2020 17:55:55 +0200
Picture download of node crawler
Background: for some players who want to change their avatars, but don't know what avatars to use, as a code enthusiast, if they can use the program to solve the problem, they don't need to use the program to change their avatars, just do what they say, and then sort it out.
design sketch
Environment configuration
Install node environme ...
Posted by Ryan0r on Thu, 23 Apr 2020 17:04:00 +0200
vue+node+mySql to separate front and back end
Environment building
Install node first:
http://nodejs.cn/download/
Download and install it directly! The new version does not need to manually configure the environment. After installation, open cmd and input node-v and npm-v to check whether the installation is successful.
The second step is to install vue:
T ...
Posted by Concat on Wed, 01 Apr 2020 13:05:01 +0200
Webpack front end automation deployment project to server (Vue)
For the lack of Jenkins and other automatic packaging platforms, the usual process of deploying front-end projects is: first deploy to the test environment ok, then publish to the production environment, then deploy to the test environment, connect to the server with xshell, then connect to the serve ...
Posted by steves on Mon, 16 Mar 2020 04:23:16 +0100
To quickly build a front-end and back-end separation project for VUE+SpringBoot, look at one (Windows)
VUE part
About old versions
The package name of the Vue CLI was changed from vue-cli to @vue/cli.If you have a global installation of an older version of vue-cli (1.x or 2.x), you need to uninstall it first through NPM uninstall vue-cli-g or yarn global remove vue-cli.
The Node version requires that ...
Posted by phpsir on Fri, 13 Mar 2020 02:48:08 +0100