exactly what went wrong, it is not very clear ...
what is written in the configuration file directly is the private network url, but now you want to use the environment variables configured on the server instead. How to modify it module.exports = { NODE_ENV: "production" , ENV_CONFIG: ...
how to use the environment variables on the linux service in the configuration file, ...
items are listed below: screenshot 2018-04-04 4.37.25 p.m. set in config index.js build:{ assetsSubDirectory: static , assetsPublicPath: , } then get logo.png in the vue file data(){ return { logoSrc: require( s...
less-loder has been installed theme.less @wid:1000px; App.vue <style lang="less"> @import . style theme.less ; < style> search.vue <style lang= less scoped> .dataSearch { width: @wid; } < style> ...
webpack found no problems when packaging local development. When the project was to be deployed, the package compilation was happily delivered to the back-end staff. however, there is an unexpected situation in which all dependencies referenced from no...
mistakes in packing Times are as follows: but it can be used normally in development mode. Refer to the website that you want to configure es2015, in .babelrc, but I have already configured . { "presets": [ ["env", { ...
I just updated the related dependencies of my project build : how should this situation be solved ...
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...
problems with webpack packaging fullPage.js fullPage.js is a single screen scrolling plug-in address on github https: github.com alvarotrig. if you just flip up and down pages, introduce into main.js. import fullpage.js there is no probl...
devServer: { clientLogLevel: warning , https: true, } Page prompt is not safe after startup: Click to continue to the unsafe page to open the page. Why, and how to make this https service secure? ...
recently I watched the teaching video of vue2.0 high imitation music webapp, but because the version of vue-cli (vue-cli version is 2.8.2) is different, there is no dev-server.js file in my build directory. On the video, the request for cross-domain da...
is npm run dev a service? why can t you use the mobile phone of the same router to access the computer s ip plus port? ...
I accidentally typed a y while installing scaffolding, so I installed e2e . ask you how to delete this report a lot of errors if this folder is deleted directly ...
after opening the vue home page of localhost:8080, everything written behind the path points to the same home page, such as "localhost:8080 api ", pointing to the page of "localhost:8080 " ...
after the vue project is packaged, run the report: webpackjsonp is not defined webpack.prod.conf.js new HtmlWebpackPlugin({ filename: process.env.NODE_ENV === testing ? index.html : config.build.index, template...
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...
computer version of Safari, Firefox reports an error: Safari: chrome browser is completely normal, and no other browsers can be used. import { combineReducers ,createStore,applyMiddleware,compose} from redux import thunk from redux-thunk i...
identity function for calling harmony imports with the correct context __webpack_require__.i = function(value) { return value; }; After webpack is packaged, there will be a function, what is the function of this function? The comments are not unders...
webpack.config.js: var webpack = require( webpack ); var path = require("path"); module.exports = { entry: . src app.js , output: { path: path.resolve(__dirname, . bin ), filename: app.bundle.js ...
beginner sql database try to write a management system, write to the database schema definition here, when the field value constraint uses "non-empty ", and does the "age " attribute require a "non-empty " constraint ...
as shown in figure node_modules react-router-dom : ps: this project cannot run after the previous project has been pulled down recently. The reason should be that the previous dependency has been updated, but the previous dependency is still cited in...
1, Alipay opens the web page, the code inside the html has changed, but the page is still the same as before, is there any way to solve it? (it is sometimes possible to add parameters after url) 2, a pop-up box is displayed, the list on the left is clic...
as shown in the picture, the company gave hundreds of gigabytes of word documents, looked at the contents, it was very messy, but roughly like the picture related to the company s information; but typesetting ah, field names, ah, the consistency is...
the following code, there are two groups of pictures, user1-image and user2-image, each have three pictures. Now each group can only select one picture, which means that after selecting a picture, you have to traverse the other pictures in this group an...