-
[solved] how to configure sass for mpvue
Business background
use mpvue for the first time sass before, but it s all configured by someone else. has not used webpack .
my actions
initialize the project according to mpvue tutorial
copy the sample file pages counter is pages...
-
[solved] how to get Mini Program global object by mpvue
Business background
mpvue developer Mini Program after a successful login, token > should be stored in the global variable . When calling the page, use .
perplexed
print this in created hook No related attribute not even this can t be...
-
[solved] which file is the Mini Program global object of mpvue configured in?
Business background
mpvue developer Mini Program wants to get global globalData on the page.
perplexed
it is not directly stated in the official documentation that this attribute is not found in App.vue and main.js files in the src dir...
-
When input and textarea are bound with v-model in Mini Program's mpvue, the cursor automatically runs to the end when the data is deleted or changed.
1. In mpvue Mini Program, when I am in the textarea tag, when I use v-model to bind data, when I want to modify the data inside (such as deleting a few words in the middle of a paragraph), when I move the cursor to the position I want to delete, the fir...
-
WeChat Mini Programs's local data problems
1: picture above first
the above one is on the developer s tool, and the following two are on the phone. That is, there is no local data on the phone, it should be a problem with the port. I passed the code scan test. This is the first time to b...
-
How does mpvue set the top tab page
how does mpvue set up the top tab page, similar to the header part of a website, which will not change no matter how the route is switched? ...
-
Mini Program mpvue submitted a form to obtain formId, Do not have handler
<template>
<form class="wrapper" bindsubmit="testSubmit" report-submit="true">
<button formType="submit">< button>
< form>
< template>
export default {
me...
-
How webpack ignores import statements
in my main.js import router from . router
now I want to implement the webpack configuration 1. The command line npm run dev does not quote router , which means not writing this line of code 2. Quote router when you use npm run buil...
-
To solve the problem of Mini Program timer
canvas
drawCircle() {
var ctx = wx.createCanvasContext( canvasArcCir )
var width = this.animation.canvasWidth 2;
function backgroundCircle() {
ctx.save();
ctx.beginPath();
ctx.setLineWidth(8)
ctx...
-
Does WeChat Mini Programs, which is based on mpvue, need to introduce UI framework again?
does WeChat Mini Programs, which is based on mpvue, need to introduce UI framework again? Would you like to reintroduce a UI framework like weui? If necessary, how to introduce it? Ask the Great God for an answer? ...
-
Mpvue introduces fly.js to report error
has installed: npm install flyio-- save. according to Npm as stated on the official website.
var Fly=require ( "flyio dist npm wx ") var fly=new Fly
but error These dependencies were not found:
fs in. ~ flyio src node index.js,. ~ reque...
-
How to choose wepy and mpvue
the company wants to develop Mini Program, but it has only used mpvue, but not wepy,. Now it is very difficult to choose which one to choose. What are their characteristics? ...
-
About Mini Program webview, mpvue, wepy
< H2 > background < H2 >
recently ready to join WeChat Mini Programs, the relevant knowledge is currently limited to understanding .
learned about mpvue and wepy , and went to issue to flip through it, and found that there were quite a lot of...
-
Mpvue Mini Program vue
<div class="address">
<div class="address1">
<span class="ad1">< span>
<span class="ad2">15003463610< span>
<span class="ad3"&g...
-
When you use mpvue to create a project, you can't go to the next step after you enter the project name.
as shown in the figure:
the card can t move here.
...
-
[solve] what ui framework is used to develop Mini Program and h5 pages with a set of code
Business background
customers should make WeChat Mini Programs and official account web pages at the same time
the interface is basically the same
so I used mpvue to develop
troubles encountered
there are many areas that need to be compat...
-
How does mpvue deal with bindgetuserinfo?
in order to optimize the user experience, the development method of using the wx.getUserInfo interface to directly pop up the authorization box will gradually no longer be supported.
add user authorization button
detailwx.getUserInfo
mpvuebindget...
-
Apart from vuex, how can you easily set and get global variables in mpvue?
requirements: in the original Mini Program, the setting and acquisition of the user s openId was accomplished through the operation of App.gloabalData . Now using mpvue to develop a new Mini Program, how to deal with this kind of data that needs to b...
-
After mpvue is placed in picker at the slot location in the custom component, the input value of picker is lost
mpvue project
in order to facilitate the rapid creation of form items and unify the style, I have customized a form item component iFormItem.vue
<template>
<div class="i-form-item bgfff">
<div class="form_item_lab...
-
Webpack output.publicpath does not work
Business background
< hr >
use mpvue to develop Mini Program
the domain names of the test environment and the formal environment are different, so the images returned by the server are all relative paths
the way it is handled now is
configure...