-
What kind of front-end architecture can ensure flexibility and avoid mega-scale?
currently working on a saas platform
what kind of architecture can meet the following requirements:
Separation of front and rear ends
flexible selection of front-end technology, less historical burden, convenient maintenance, and organizational n...
-
Benchmarks is a directory in many github projects. What on earth is it for?
there is a benchmarks directory in some open source projects, such as vue , which is very popular now. The literal translation of benchmark means benchmark test. It seems that some functional performance tests can be done. given that there is a test di...
-
Various bug problems with vue-froala-editor rich text?
recently, the company needs to use a rich text editor in the background: (there are a few problems that have not found a solution, ask for advice from all kinds of gods)?
normal display:
::textareatag:tag
:vue-froala-editorfont
:brppbr brbr
:
...
-
Use webpack to configure proxy to proxy interfaces always report 404?
1. The data interface is http: www.xxx.com api.paper data under this interface, I use webpack-devServer to configure proxy, but error 404not found is reported on the page.
2.proxy: {
manage : {
target: http: www.xxxx.com...
-
What should mock.js do if he wants the key value to be generated automatically?
...
-
How to gracefully determine that an element exists in an array and then remove the element and add it if it doesn't exist?
there is a requirement to remove an element from the array when it exists, and to add the element to the array when it does not exist. this is how I implement it. Is there a more elegant or convenient way to write it? Please do not hesitate to give us ...
-
How does the modal fuzzy box in bootstrap get the click button event?
I encapsulated a js function myself! There are some problems with using . I set callback, to increase as the number of clicks increases, so does the number of execution. I don t know why!
functions encapsulated by js
showConfirm(title , content , sh...
-
Js url passes parameters of object and array types, which cannot be parsed
this code is the method I used to concatenate parsing objects into url strings
encodeParamsStr: function(obj) {
var params = [];
Object.keys(obj).forEach(function(key) {
var value = obj[key];
undefined
if (typeof value ===...
-
Run webpack error _ ValidationError2.default (ajv.errors, name)
use plug-in extract-text-webpack-plugin: package this error after running webpack: Users apple work self_test webpack node_modules schema-utils dist validateOptions.js:40
throw new _ValidationError2.default(ajv.errors, name);
^
false
webpack.co...
-
Can uwp be implemented on a pure front end?
ask the development boss of uwp, because there is no experience in c-sharp and xmln, wants to know whether uwp can only be realized by html css js because it wants to know that app uses the shell of web page to achieve uwp,. and the development proce...
-
Excuse me, how can I connect these two data end to end?
the question I asked this morning, but the solution provided in the answer doesn t seem to solve my problem. Although it seems to be connected from end to end, the data is wrong .
I need data 2 to start at the end of data 1
...
-
How is filter implemented in Vue?
{{ 10 | fn1 | fn2 }}
for example, you can use filter in the template of vue. I wonder, how exactly does Vue implement it? Do you have a simple explanation?
...
-
In the vue family bucket, how to solve the problem that bootstrap's col-offset does not work?
1, I used vue to build a responsive page, using bootstrap, but wanted to use a column offset effect, using col-offset, but did not work, and then I tried col-push col-pull, without solving it. But there is a grid effect, and the code is as follows I als...
-
When the content appears in the visual area, the corresponding navigation bar title is highlighted, how to achieve it with js?
on the official website of Vue, when I scroll to the details of "declarative rendering " on the right, the title corresponding to the left directory bar is also highlighted. tell me how to achieve this effect with js, and what is the idea. ...
-
The old and new values of the VUE snooping array remain unchanged. May I ask the seniors why?
recently in the self-study vue, I still have some questions about watch monitoring. I would like to ask my seniors to help me solve it.
specific problems are as follows: the test monitors the new and old values of different types of data data. In the...
-
The problem of vehicle loading and display of large amount of data map (based on Baidu map)
Logistics industry, monitor vehicle trajectory and location.
use Baidu Maps
slightly stutter occurs when the page loads more than 500 cars.
when loading more than 1000 vehicles, the map drag and zoom function is almost invalid, and the stutter is ...
-
On the manipulation of objects in javascript
https: jsfiddle.net 20170808.
how can I output the following format: Wang Junkai Wang Yuan Yi Qianxi Jolin Tsai Gillian sa
var data = [
{
singer: [
{name: ,age: 18},
{name: ,age: 20},
{name: ,age: 18}]},
{...
-
Cannot add less to react, solution using webpack
webpack4.x less has been introduced and used in the H1 tag, but there is no style on the final page.
index.js
index.less
webpack.dev.js
:
...
-
How to implement nodejs to obtain api data from other servers and upload servers to release cross-domain restrictions in the local environment
The description of the title is not very clear.
the thing is, a project on my side uses an open interface, but this interface has cross-domain restrictions. The project I am working on now is a project without backend. The local environment of vue+axi...
-
About the setting of vue-router-active navigation bar
in the APP.vue public navigation bar, I want to use vue to implement different route jump navigation bars corresponding to different styles
;
html Code
...