用法:
npm install
npm run start
npm run dev
Assemble the Vue component of element-ui
Component: component development
Public: public areas
VuexDate: vuex logic
NPM after download, nodeModules bags out of the "vue-cli-xuan" file after download the dependent package can be used, depend on the element - UI library
npm 下载好以后,nodeModules包内拿出”vue-cli-xuan”文件后下载依赖包即可使用,依赖element-ui库
pablic
TypeJudgment. Js: determine whether for PC, judgment is the browser, the String type validation is have a phone number/id no. / machine/zip/qq/url/digital size some English... Data. Js: time/date/week encapsulation Other. Js: get url parameters, obtaining all the url parameter, translates into a json object, delete url specified parameters, returning url, obtaining random hexadecimal color, loading images, audio load, DOM string, the string DOM, insert cursor characters, and set the cursor position, the characters of the insertion cursor Number. Js: random number range, the Arabic numerals to translate into Chinese capital number, converts Numbers to the amount of capital