@isense-development/administration
v2.0.4
Published
Administration package
Downloads
28
Readme
Administration module
This module expands the current application where all settings, users and configs ect are kept and can be managed.
Installation
npm i @isense-development/administration
Add the package to the env.json file
{
"app": {
"packages": [
{"name": "administration"}
]
}
}Version Compatibility
| Quasar | @isense-development/administration |
|:-----------------------------|:--------------------------------------|
| |
|
Auto generated alias
In the quasar.conf.json the alias is automatically created '~administration' based on the module name in the env.json file
Register the routes
You need to register the routes in the src/router/routes.js file and assign them to which layout you want to use them
/* Add here the packages that have included routes */
import administration from '~administration';
/* push your package routes to the router
The layout refers to which parent you want to add the routes as children
*/
packageRoutes.push({ name: 'administration', package: administration.router, layout: 'main-layout' });How update packages?
4 Safe Steps to Update npm Packages
Cheat Sheet: 6 Commands To Help You Update npm Packages
This cheat sheet will make it easy to safely update npm packages in your node application. It includes a list of commands that will help you keep up with the latest updates and avoid breaking changes.
- Use
npm list--depth 0 to list all the packages in your package directory - Use
npm auditto find out which of your npm dependencies are vulnerable. - Use
npm outdatedto list the packages that are out of date with respect to what is installed in package.json - Use
npm update package_nameto update an individual package that has already been installed. - Use
npm uninstall package_nameand npm install package_name@version to revert to a specific version. - Use
npm cache clean --forceto clear npm's cache of all the packages that have been installed.
