
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
generator-node-vue-admin
Advanced tools
基于express+mongodb+vue后台管理模版
安装 yo
[sudo] npm install -g yo
安装模板生成器
[sudo] npm install -g generator-node-vue-admin
新建一个项目目录并进入
mkdir dir && cd $_
使用模板,这个命令会自动安装依赖(npm install),建议终止掉,然后使用 cnpm
或 yarn
来安装,因为速度飞快。
yo node-vue-admin
cd frontend
npm i
npm run dev
打开浏览器访问http://localhost:8999/manage
端口等配置在frontend/config/index.js
中修改
npm run build
执行build
后,生成的index.html
在backend/view
中,静态文件存储在backend/pubilc/static
文件夹中
执行
gulp dev
使用gulp-nodemon
和gulp-livereload
配置刷新
如果使用gulp dev
执行,会自动监听js改变,并重启服务。
监听public
文件夹内'scss'文件改动,刷新浏览器
执行`gulp dev`后,服务端地址为`http://localhost:3000`
app.js 文件修改 limiter
milter
组件的上传配置less-middleware
编译,在app.js中配置vue
生成的静态文件MIT © JakeLaoyu
FAQs
基于node express框架以及vue的后台管理脚手架
The npm package generator-node-vue-admin receives a total of 3 weekly downloads. As such, generator-node-vue-admin popularity was classified as not popular.
We found that generator-node-vue-admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.