Plug and play npm modules build for extend we.js projects, build one feature and reuse or share with others developers
You can add Widgets, controllers, routes, models ... every we.js feature can be override or added with plugins
The plugin main file is
How to install one plugin?
- Find plugin in we.js site, npm site, github search or with npm command like:
npm search we-plugin-
- Install with
npm install [pluginName]like
npm install we-plugin-form
- First time when you run your project, We.js will install all we-plugins on project.
- Start your project and in first project run after install the plugin the we.js will register this plugins and the plugin version for use in database updates.
How to update?
All plugins is a npm module then you can:
- use the
npm outdatedto check updates in package.json modules
- then change the plugin version in your project package.json