@Official documents @Reference blog1,@Reference blog 2
After the introduction of iView, an error is found, and the error information can be referred to @Reference blog 1, according to the blog Guide
cnpm uninstall vue-cli -g
cnpm install -g @vue/clivue init webpack yanancnpm install vue
Then i ...
Posted by corruption on Sat, 23 May 2020 07:10:01 -0700
1. Vue file
The. Vue file, known as single file component, is a file format customized by Vue.js. A. Vue file is a separate component, which encapsulates the component related code: html, css, JS
The. vue file consists of three parts: template, style, and script
Posted by slands10 on Sun, 03 May 2020 09:29:56 -0700
The build tool script is in the es6/tasks / directory
Installed package: ~ / ES6 $NPM install gulp gulp if gulp concat webpack webpack stream vinyl named gulp liverload gulp plumber gulp rename gulp uglify gulp util yargs -- save dev
Posted by JoWiGo on Sat, 02 May 2020 05:12:51 -0700
What is Mock Server data?
In short, if the Api (that is, the server interface) is not written, the front-end cannot be debugged. Mock Server is a service used to simulate the Api interface to return JSON data!
Here are three kinds of mock processing, and there are many third-party ones, such as (jsonServer + mockJS, ...
Posted by digitalecartoons on Sat, 02 May 2020 05:10:07 -0700
Continue with the previous one https://www.cnblogs.com/chenyingying0/p/12797474.html
Install webpack dev server
cnpm i sebpack-dev-server
Because the syntax of configuring environment variables on different platforms (such as windows and mac) is different, in order to write in a way compatible with multiple platform ...
Posted by hadeosdin on Wed, 29 Apr 2020 07:06:48 -0700
Vue Router summary (from official website)
1. Introduction to Vue router function
Nested route / view tables
Modular, component-based routing configuration
Routing parameters, queries, wildcards
View transition effect based on Vue.js transition system
Fine grained navigation control
Links with automatically activated CSS class es
HTML 5 histor ...
Posted by sotusotusotu on Sat, 25 Apr 2020 03:00:26 -0700
I have written a fan-shaped map drawing article in openlayers 4 before, but because it is written by encapsulating a layer of js code, many beginners seem to be a bit laborious, so this article rewrites a fan-shaped map drawing article, which is written directly based on the latest version of openlayers 6, in the form of pure html + ...
Posted by phatgreenbuds on Sun, 12 Apr 2020 08:42:34 -0700
Learning is in the Chinese web pack, just this record for later review;
I think there are four basic modules of webpack that I should know before learning:
I. Basic Use
Follow the steps ...
Posted by dineshsjce on Sat, 11 Apr 2020 09:37:56 -0700
A simple tool that allows you to execute js code in multiple real browsers.
After using karma, we didn't need to use jsdom to simulate the environment required for the mount of Enzyme, because karma will test the execution of js in ...
Posted by pwicks on Sat, 04 Apr 2020 18:59:13 -0700
1. Close eslint
This is just the way to close the Vue cli scaffold. In fact, it is very simple to build/webpack.base.conf.js
Just comment out the eslint rules in the configuration file.
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// enforce: 'pre',
Posted by mosherben on Tue, 31 Mar 2020 20:45:55 -0700