At the beginning of 2016, I started to use Vue to make product requirements. In February, I considered making requirements while opening source, so I did not carefully maintain until now. Although open source has been open for one year, only 40 users have participated in the contribution. I hope students with ability and time can participate in the contribution.

[email protected] is second only to ElemeFE/ Element in the list of vue language projects with stars on Github: A vue.js 2.0 UI Toolkit for Web

The domain name https://vux.li/ was registered to be formal and to make it easier for users to enter a domain name to view documents. Although I don’t know yet how many of you actually type in the domain name to access the document.

[email protected] was released years ago, due to the heavy workload of the upgrade, and hope that the document can be slightly more detailed several times to set the time flag and then delayed. Because there are some small problems in updating to [email protected], and the wechat mini program release and holiday, so the official version is now released 2.1.

For a second, if bugs or questions are unavoidable, providing full replay steps and code (never taking screenshots of code) can help solve problems quickly. Sloppy problems can be shut down.

[email protected] to update

From version 2.0 to version 2.1, it basically does these things:

  • Vue upgraded to 2.x

  • The vue-router was upgraded to 2.x

  • Upgrade vuex to 2.x

  • Upgrade the Webpack template to [email protected]

  • WeUI upgrade to 1.x

  • New official website, more detailed documents (still improving step by step, welcome PR), the 0.x document is so simple that I do not want to open the old document page, as a vUe-based project, I feel it is almost sorry for the Vue official document.

  • . Vue single file preprocessing tool vUx-loader

In addition to the quickstart template, common development experiences and common tool libraries are also shared in the document for true out-of-the-box implementation.





vux-loader

Vux-loader is an exploration and practice of vUE common component distribution, which implements call-time build of.Vue source code and can be used to do some interesting and useful things. The main things it currently does in VUX are:

  • Multi-language distribution of components, if you only need EN then call source code is EN, do not need to import en language package in the case of the default zh-CN configuration

  • Automatic extraction of i18n, you can configure multilingual < I18 ></i18n> directly in. Vue, and then use any third party I18N plug-in.

  • Import syntax parsing, import {Group, Cell} from ‘vux’ into a single component. Other component libraries implement this step in the Babel plug-in. However, preprocessing in.vue can be more flexible. The repository has a map.json file for address mapping, and no matter how the project specification is updated or the directory is changed, the correct file address is always found. It can also be extended freely, and even tool libraries can be imported directly without worrying about importing the entire library.

  • Global coverage of less variables, that is, topics, and most of the styles can be configured through variables

  • The automatic configuration of the source code js part uses the Babel-Loader conversion, no longer using the crappy re I wrote in the first place

  • You can preprocess the template, script, and style parts according to your needs

  • Automatic configuration Compresses the constructed CSS

Vux-loader is non-invasive, there is only one merge method to extend the existing Webpack configuration, there are some interesting features to support later, if you are also developing a common component library, welcome to vUX.

For details, see the vUX-Loader documentation

There is not much to share in terms of components, but rather the engineering practices of the VUE project. If we have time, we will open source a common component library development template that supports directory specification, code specification, document specification, document generation, UMD file generation, etc.

The appendix data

(If your company is looking for Vue developers, consider advertising on VUX.)

Every day, the PV of Github project page is 3K-4K and THE UV is about 700.

Screenshots of source site data during the week of publication, in addition to the following sites nuggets and Awesomes – Web front-end development repository.





The document site access data is as follows. The Demo site is basically the same as the document site.

At the moment



—————————-

I finished writing on Zhihu, but the result was the failure of Zhihu. The pictures could not be uploaded, and then they could not be accessed, and then they could not be published. Half a day. So I thought about it or published to 13 years after the registration did not publish the article of the public number.

Cherish life and stay away from zhihu.