
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.
vue-cli-plugin-tq-tpl
Advanced tools
配合 @vue/cli
3.0 通过插件快速生成前端项目模版.
安装插件
$ vue add tq-tpl
安装依赖
$ npm install
vue add tq-tpl
后会默认执行了 npm install
进行依赖安装
npm run serve
启动本地服务npm run build
构建打包npm run serve
启动本地服务npm run framework
构建打包基座项目本地开发模式下,可以访问/dev
路由,进入子应用本地联调模式
npm run serve
启动本地服务npm run module
构建打包子应用项目npm run dev:module
启动本联调模式本地开发模式下,可以访问/dev
路由,进入子应用本地联调模式
npm run serve
启动本地服务npm run preview
构建打包模版项目template-env
类型的项目推荐在push到仓库后带入构建好的资源,方便支持预览相关功能,因此该模式下的项目也不推荐做的厚重
$ npm run [build/framework/module] -- --app_env='{"DNS_CODE": "test"}'
devServer
的proxy
配置生成nginx.conf
$ npm run build -- --port=8181 --root=/home/8181/mnt/dist
$ npm run build // NODE_ENV: production
$ npm run framework // NODE_ENV: framework
$ npm run module // NODE_ENV: module
FAQs
tq tpl
The npm package vue-cli-plugin-tq-tpl receives a total of 0 weekly downloads. As such, vue-cli-plugin-tq-tpl popularity was classified as not popular.
We found that vue-cli-plugin-tq-tpl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.