-
Vue.js realizes the specification selection function of commodity details page.
vue.js implements specification selection on product details page Click to select version option and click to select color option. Highlight has been selected. How to display the selected version and color
html Code < div class= "chose-ck " >
: ...
-
May I ask where the web page icon (favicon) of the project built by vue-cli was introduced? How can it be removed?
as shown in figure
I really can t find it. Ask for help
...
-
How does the vue destroyed () function change a css style?
in vue, this is a window departure event. I want to change the style of body through this, but it seems to have misreported .
how can I change its style?
...
-
Vue has obtained the back-end data, how to wrap it?
HTML
get the backend data code
...
-
In vue, how do I set up a function to be executed as soon as the page is loaded?
italic text this is the js code for a page of article details. I would like to ask how to define a function that will be executed as soon as I jump to this page? ...
-
In vs code's vue-cli project, the vetur plug-in is installed, resulting in all * .js formatting in the vue-cli project with 2 spaces?
after vs code installs the vetur plug-in, all the * .js file formats in the vue-cli project are aligned with 2 spaces. I usually use 4 spaces. In the configuration, I set "editor.tabSize ": 4, all files for non-vue projects * .js, * .html,*.css, etc....
-
How to judge the currently selected item of the array in vue?
is there a boss who can help explain the principle of this line of code? Yesterday, a big guy in the group shared the method. I used it and realized the function, but I don t understand why, which are vue and which are js native nextRoute.indexOf (...
-
Switching between vue Test Environment and formal Environment
beginner vue, builds a project out of scaffolding and adds a "API_ROOT " to "dev.env.js ". The code is as follows
use strict
const merge = require( webpack-merge )
const prodEnv = require( . prod.env )
module.exports = merge(prodEnv, {
N...
-
Under the IE browser, what is the difference between the style of the vue project uploaded to the server and the local style?
in a vue project, the local running code localhost:8080 is different from the server ip address in ie11 browser and 360browser, as follows Local style
ie11360
if I click anywhere on the page on the server or move the mouse into the navigation bar ar...
-
After the vue project is packaged, an error is reported under ie: 'SCRIPT1006: missing')''this is true for both ie8,9,10,11
ie 8,9,10,11 Edge...ES6 webpackbabel-polyfill es6 es5
...
-
How to reference the js method in external links in a vue single page file
my front-end project is built directly using vue scaffolding and vue-cli. At present, I only know that you can import a js file into the .vue page through the import xxx.js file, and then I would like to ask how to introduce the outer chain? I trie...
-
After the vue project is packaged, the font file reports an error, but the page displays normally
as shown in the figure, this error is reported after the project is packaged. It should be a path error, but I don t know how to correct it .
...
-
What files should vue-cli assets and static put respectively?
what files should vue-cli assets and static put respectively? There are many explanations about assets and static on the Internet, but I feel that there is no concise explanation
there are many articles like this, but all I need is where to put some j...
-
The problem of echarts migration map (cross-provincial, transnational, cross-city display is problematic)
there are three migration maps for business demand. Cities in other provinces migrate to Xi an and cities in other countries migrate to Xi an. These two maps have been realized, but the map of other cities in Shaanxi Province migrating to Xi an shows...
-
After the vue project is packaged, there is no icon for the title on the browser?
after the vue project is packaged, there is no icon for the title on the browser?
webpack.prod.config.js:
const webpack = require( webpack );
const HtmlWebpackPlugin = require( html-webpack-plugin );
const ExtractTextPlugin = require( extract-te...
-
With regard to the switching components of the vue tab and using the same interface, please give us some suggestions.
I have a vue technical question for you. I have a tab tab in the component page that uses: is to dynamically switch components, but both are the same request interface, but I don t want to use the same interface for both components at the same time! Cou...
-
Watch cannot listen properly after vue is extracted into components
watch in the vue component listens for changes to the formSearch, but if you modify the formSearch.memberPhone while listening, you can t listen. There was no problem with writing it in the page before, but now it is extracted into a component .
<te...
-
Is it necessary to split a .vue component with more than 2000 lines into several subcomponents?
this component is the main functional page in the project. Because it is a .vue file, the template,css,js is all written together, which results in more than 2000 lines of code for this component .
but the code in this component is basically unreusable...
-
How to load / unload components introduced in App.vue and < router-view/ > at the same time
as shown in the figure, I have header and footer two common components, which are introduced in app.vue. Now there is a problem that when I refresh the page, the code in router-view will be unloaded and reloaded, but header and footer in ap...
-
How to correctly introduce pictures in assets into style in .vue file
if you want to introduce the picture resource in the assets folder in the css in the style in the .vue file, always report an error this is the css, in the style in some vue component. In this way, I can t get the picture resource according to the r...