sleep app

uni-app project creation (easy + explicit!!!)

Hits: 0uni-app project creation 1. Command line creation 1.1 Create a project: vue create -p dcloudio/uni-preset-vue project name 1.2 Choose a template: Use the up and down arrows to select, and press Enter to confirm. Generally, select ‘default template’ Created successfully: Project structure: 2. HBuilder creation 2.1 Download and install HBuilder: 2.2 After opening the …

uni-app project creation (easy + explicit!!!) Read More »

Global pop-up window uniapp’s app can override the global call pop-up window of native components

Hits: 0Table of contents Tips Implementation steps Property method description More front-end knowledge Tips This pop-up window is suitable for global calls and covers all native components, implemented in combination with vuex. The global pop-up window is not a simple component. Before using it, download the sample and run the test to see if it …

Global pop-up window uniapp’s app can override the global call pop-up window of native components Read More »

el-upload in Element-ui uploads pictures and has a preview function

Hits: 0Applicable end PC-side use of uniapp and vue Features: A style to display a border before uploading an image Upload an image for preview Click to confirm upload (interface connection) Effect display: Upload preview before uploading (before clicking OK, when the interface is not connected) Specific implementation: HTML <el-upload action="/source/upload" accept=".jpg,.jpeg,.png,.gif,.JPG,.JPEG" :show-file-list="false" :on-change="handleLicensePreview" :before-upload="beforeLicenseUpload" …

el-upload in Element-ui uploads pictures and has a preview function Read More »

Use uniapp to create a project, and use uni-ui to introduce uView and some problems encountered

Hits: 01. Using uni-ui in [uniapp] 1. Create a uniapp project Click File – New – Project Select the default template to name the project 2. Run the project Click Run – Run to the browser – Chrome sees the background prompt that the compilation is successful Project page display 3. Introduce uni-ui Enter the …

Use uniapp to create a project, and use uni-ui to introduce uView and some problems encountered Read More »

The uniapp applet enables component injection on demand lazyCodeLoading requiredComponents

Hits: 0Since base library version 2.11.1, applet supports selective injection of necessary code to reduce applet startup time and runtime memory—— official answer { "lazyCodeLoading": "requiredComponents" } Note: After adding this configuration, unused code files will not be executed. time injection On the premise of enabling the “on-demand injection” feature, “time injection” can specify that …

The uniapp applet enables component injection on demand lazyCodeLoading requiredComponents Read More »

Error Cannot find module ‘webpacklibRuleSet’ (solved)

Hits: 0Error: Cannot find module ‘[webpack]/lib/RuleSet’ When running [the uniapp] project, this error is reported (The solution was found on Baidu, the actual measurement is effective, record it to avoid forgetting how to solve this problem next time) solution: (1) Uninstall vuecli 5.0 version npm remove -g @vue/cli (2) Install vue4.5.15 version npm install -g …

Error Cannot find module ‘webpacklibRuleSet’ (solved) Read More »

[Mini Program Map] uniapp develops a WeChat applet, displays the map function, and clicks to open the AutoNavi or Tencent map.

Hits: 0When I first encountered the map, I thought it was more complicated. Think about whether you need to refer to Gaode or Baidu map api or the like. In fact, it is not necessary at all, just use the method that comes with [uniapp .] Without further ado, the complete code, comments, and problems …

[Mini Program Map] uniapp develops a WeChat applet, displays the map function, and clicks to open the AutoNavi or Tencent map. Read More »

WebStorm create uniapp project

Hits: 0[WebStorm] create uniapp project I used vue/cli to be 2.0 npm install -g @vue/cli vue create -p dcloudio/uni-preset-vue my-project The following statement compiles npm run dev:mp-weixin Reference link 1.uniapp documentation link 2. vue&uniapp environment construction and project creation (webstorm)-http://www.manongjc.com/detail/25-vxqfnzvlbevxvur.html 3. uni-app project creation (simple + clear – /mygoes/article/details/106103255