Build your own npm privatization warehouse with verdaccio
preface
Then the last article What sparks can Gitea+Jenkins collide with? Discussion on front-end automation deployment_ Diehunter 1024 blog - CSDN blog
This article will share with you verdaccio Build a privatized npm warehouse and publish npm packages
preparation
Node environmentRemote or local serververdaccio
Installing and configuring v ...
Posted by Kelset on Thu, 16 Dec 2021 12:52:13 +0100
Example of front and back end separated single page application (SPA) project (Vue+ElementUI+Axios+Django+MySql)
Example of front and back end separated single page application (SPA) project (Vue+ElementUI+Axios+Django+MySql)
1. Front end part
1. 1 construction of front-end vue platform
Installation vue:
vue official website: https://cn.vuejs.org/
There are three ways to install vue:
Recommended installation method: npm installation scaffold (v ...
Posted by xyzleft on Wed, 24 Nov 2021 16:52:08 +0100
Bit Shared Code
Think in ComponentBit is a component-driven architecture for modern application development based on components. In Bit's world, everything is a component.Components can be grouped into other components, which ultimately form an application APP, which is also a component.This gives us a new idea for development: we build components that can be ...
Posted by itsmeArry on Thu, 18 Nov 2021 18:27:19 +0100
npm: the whole process of publishing components to npm (using rollup packaging tool)
There are few tutorials of self-made npm package on the Internet, and there are many difficulties, so I made this video so that we don't have to climb the pit again. Self made front-end plug-ins and published to npm generally need packaging tools, because npm itself runs in node, and node does not support es6 import syntax, while front-end pack ...
Posted by madan koshti on Mon, 27 Sep 2021 05:28:34 +0200
express Learning (3) - cookie s and session s
express Learning (3) - cookie s and session s
Cookies exist in the browser and can only store up to 4K of data, which is not safe
Session exists in the server and cannot be independent (read cookie s before session), which is more secure
cookie
tool
Send cookie s:
Write the basics first:
const express = require('express');
var server=expre ...
Posted by anand on Thu, 16 Jul 2020 17:16:47 +0200
Self cultivation of the whole stack: 002 using @ vue/cli vue.js Environment construction
<h1>Self cultivation of the whole stack: using @ vue/cli vue.js Environment construction</h1>
Success, real success, is being willing to do the things that other people are not. Success, real success, is willing to do what others don't want to do.
Table of Contents
@[TOC]
When you read this article, I think you are interested in h ...
Posted by haddydaddy on Mon, 29 Jun 2020 09:27:29 +0200
Analysis of new features of Vue 3
It is known that the current stable version of Vue is 2.6.x, and the subsequent version is 2.7.x (part of vue3 content is added). After 18 months of maintenance, except for the security vulnerability update, the rest will not continue to update. Explain that we will embrace the era of vue3.0 in an all-round way
Information about the compatibili ...
Posted by white99 on Wed, 24 Jun 2020 05:25:20 +0200
Let's write a small program timer management library
Author: attapulgite - Anthology
background
Attaman is a small program developer, he wants to implement the countdown of seconds in small programs. Without thinking about it, he wrote the following code:
Page({
init: function () {
clearInterval(this.timer)
this.timer = setInterval(() => {
// Countdown calculation logic
c ...
Posted by edspace on Tue, 23 Jun 2020 09:17:17 +0200
How to write Vue next response? Detailed explanation of this article
preface
1. This paper will write a response principle in Vue next from scratch. Due to the difficulty of space and understanding, we will only implement the core api and ignore some boundary function points
The APIs to be implemented in this article include
track
trigger
effect
reactive
watch
computed2. Recently, many people asked me about th ...
Posted by sorenchr on Thu, 18 Jun 2020 06:06:20 +0200
Learn the overall structure of redux source code and deeply understand the principle of redux and its Middleware
1. Preface
Hello, I am Ruokawa . This is the eighth part of the whole learning source architecture series. The word "overall architecture" seems to be a little big. Let alone the overall structure of the source code. The main thing is to learn the overall structure of the code without going into the implementation of other specific f ...
Posted by drfate on Mon, 15 Jun 2020 04:06:57 +0200