How to run a front-end angular project

1. Install first node.js Go to the official website to download and install: https://nodejs.org/en/ 2. Download pkg file and install it on mac 3. After the installation, verify whether it is successful at the terminal $ npm -v 6.14.4 $ node -v v12.16.3 4. Install angular console npm install -g @angular/cli This installs the comma ...

Posted on Fri, 22 May 2020 07:46:54 -0700 by elwadhos

[outsourcing]! Use asp.net core to quickly build the background management system of small start-up companies (IV. quartz simple configuration and use)

The previous chapter introduces the simple configuration of log4net, this chapter introduces the simple use of quartz, the next chapter introduces my permission use, and then it ends This chapter mainly introduces: The use of quartz in asp.net core Although this project is small, it is easy to expand, and the business behind it can be dire ...

Posted on Sun, 10 May 2020 20:53:57 -0700 by 3r0ss

animations Animation III of Angular Exercise

Return to Directory Preface This article is based on an angular hands-on project. Article Directory Last article animations in Angular Exercise II Entry and Exit animations, Keyframes series animation, Group parallel animation are practiced in this section.Practice animation callback functions, query selectors ...

Posted on Sat, 09 May 2020 10:13:15 -0700 by CaptainStarbuck

ionic realizes wechat, QQ and microblog sharing

1. First of all, you should prepare the following (1) one android.apk package (2) application signature (generate signature with android apk package name)           http://blog.csdn.net/dan_2017/article/details/79138635 (3) fill in application information and apply for appid through various open platforms QQ: Tencent open platform http://o ...

Posted on Tue, 05 May 2020 10:13:14 -0700 by springo

Usage of Angualar 1 Custom Instruction -- message box

Recently, maintain an Angular 1 project. After using element UI in vue, I want to write some similar components myself. At the same time, compare the usage of angular instructions with that of single file components in vue. Today's topic is to write a message box How to start thinking about components (1) Structure of components (html) ...

Posted on Mon, 04 May 2020 12:10:18 -0700 by xoligy

AngularJS initiates a $http.post request

AngularJS initiates a $http.post request The code is as follows: $http({ method:'post', url:'post.php', data:{name:"aaa",id:1,age:20} }).success(function(req){ console.log(req); }) 1 2 3 4 5 6 7 At this time, you will find that you cannot receive the returned data, and the result is null, because ...

Posted on Fri, 03 Apr 2020 09:41:34 -0700 by NoobPHP

Angular cli 1.6.7 building applications some configuration of webback

Building application of angular cli 1.6.7 Some configuration of webpack Label: Angular The project initialized with ng new my app does not contain the webpack configuration file. You need the ng eject command to add the webpack.config.js configuration file. At this time, the file has a more complete configuration. But there is a lack of other ...

Posted on Wed, 01 Apr 2020 23:50:48 -0700 by mj_23

Integrated NGX translate for ionic3 learning

Integrating NGX translate Official connection github: https://github.com/ngx-translate/core Step 1: install npm install @ngx-translate/core --save npm install @ngx-translate/http-loader --save Step 2: To import the TranslateModule, first import the TranslateModule and add the following code under app.module.ts ...

Posted on Mon, 23 Mar 2020 09:23:44 -0700 by rhiza

When will items in HTML5 local storage expire?

How long can data stored in localStorage (as part of DOM storage in HTML 5) be used? Can I set the expiration time for the data put into localStorage? #1 building // Functions function removeHtmlStorage(name) { localStorage.removeItem(name); localStorage.removeItem(name+'_time'); } function setHtmlStorage(name, value, expires) { ...

Posted on Thu, 19 Mar 2020 05:14:21 -0700 by Gokul

Angular6_Server Rendering SSR

Angular6_Server-side Rendering You need to install the latest version of Angular before using server-side rendering. npm install -g @angular/cli or cnpm install -g @angular/cli github project Create Project ng new PWCat --routing Add universal to the project ng g universal --client-project=PWCat or ng ...

Posted on Wed, 18 Mar 2020 09:44:55 -0700 by TheHeretic