Tag:Route

  • Layout menu nested routing of front-end spa project crudapi background management system based on Vue and Quasar (3)

    Time:2021-8-2

    Layout menu of front-end spa project based on Vue and Quasar (3) review Through the previous articleUser login of front-end spa project based on Vue and Quasar (2)We have completed the login page. Today we mainly introduce the implementation of layout menu. UI interface effect home page Business Data menu expansion Setup page explain The […]

  • Android data and file storage

    Time:2021-8-2

    Four ways: Application specific storage Shared storage Preferences database The first: application specific files Access from external storagegetExternalFilesDir()getExternalCacheDir() Access from internal storagegetFilesDir()getCacheDir() Access from external storage withgetExternalFilesDirtake as an exampleStorage path:/Storage / emulated / 0 / Android / data / package name / files characteristic The app will be deleted after uninstallation. Other programs can […]

  • Configuration and use of Maven plug-in generator for reverse engineering of mybatis

    Time:2021-8-1

    Project directory structure POJO: used to store the generated entity class Dao: used to store the generated * mapper.java file Com.hudu.dao: used to store the generated * mapper.xml file Method 1 Configure the generatorconfig.xml file under resources <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE generatorConfiguration PUBLIC “-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN” “http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd”> <generatorConfiguration> <!– Database driver package location […]

  • Front end architecture upgrade of vivo Mall – front end and back end separation

    Time:2021-8-1

    Based on the front and rear end separation experience of vivo mall project, this paper summarizes the front and rear end separation ideas, arranges the front and rear end separation schemes, as well as the problems and solutions encountered in the separation process. 1、 Foreword Vivo official mall established an online mall in 2015 and […]

  • Vue Foundation (x): Vue routing (II)

    Time:2021-8-1

    1. Routing 1.1 Vue router dynamic route matching 1.1.1 basic usage of dynamic matching routing Application scenario: route matching through the mode of dynamic routing parameters. Document User1 User2 User3 Register const User = { //Get routing parameters through $route.params in the routing component Template: ‘< H1 > user component — user ID: {{$route. Params. […]

  • A new solution of KOA router

    Time:2021-8-1

    Routing middleware based on KOA API compatiblekoa-routerFor interface details, seeAPI Reference Support annotation based routing writing, which is easy to implement restful style Built in koa body for easy parameter analysis install As you can see,dolphin-routerIt has been published in the npmjs central warehouse. You can install it directly #Install as dependent npm i dolphin-router […]

  • Remember the pit caused by an overly intelligent production tool

    Time:2021-8-1

    background Recently, a cli tool for processing proto files was developed. Previously, proto files were used in two ways: Directly reference the proto file and dynamically generate JS code at runtime Generate the corresponding JS file through the protocol tool and reference it in the project The latter will have higher performance, because the compilation […]

  • Laravel quick reference manual

    Time:2021-8-1

    Common statements Helper function path \vendor\laravel\framework\src\Illuminate\Support\helpers.php config(‘app.cdn_ Domain ‘) read configuration env(‘CDN_ Domain ‘) read only in configuration files $path = app_ path(); Return the app path C: \ www \ laravel \ app, $path = base_ path(); Project root directory, C: \ www \ laravel $path = config_ path(); Configuration path C: \ www […]

  • Follow the message and start a wonderful journey

    Time:2021-8-1

    Summary:Follow the message and stroll from the windows host through the router to the Linux host. This article is shared from Huawei cloud communityWonderful journey of messages in different devices, original author: drum, harp and Sheng. brief introduction In the figure above, the message from Hosta is forwarded to hostb. The message needs to start […]

  • Install Jenkins for Ubuntu 16.04

    Time:2021-8-1

    Install, start, and configure Jenkins services wget -q -O – http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add – sudo sh -c ‘echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list’ sudo apt-get update sudo apt-get install jenkins systemctl status jenkins.service ● jenkins.service – LSB: Start Jenkins at boot time Loaded: loaded (/etc/init.d/jenkins; bad; vendor preset: enabled)Active: failed (result: exit code) since – 2017-09-18 20:02:02 CST; 5min ago Docs: […]

  • Configuring Java environment variables and Maven environment on the MAC side

    Time:2021-7-31

    Installation of JDK and maven The installation is relatively simple. Go directly to the official website to download the required JDK, and then install it according to the instructions. Maven can download it and unzip it to the path you need. Environment variable settings The settings here are slightly different from those in windowsJAVA_HOMEThe configuration […]

  • [Java from entering the pit to giving up] No 1. Establishment of java development environment

    Time:2021-7-31

    1. Preface If you want to develop java, how can you lack JDK? First, let’s teach you how to install and configure JDK; 2. Download and install JDK 2.1 Windows 2.1.1 installation First enterOracle official website, and then find the JDK version you want. Here, take JDK 11 as an example; After clicking JDK download, […]