
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lview-plus
Advanced tools
组件库依赖于uview-plus、sass、sass-loader,为避免项目运行不畅,请按如下命令安装前置依赖:
npm install uview-plus
npm install sass@1.63.2
npm install sass-loader@10.4.1
指定sass、sass-loader的版本,是因为sass 1.8.0以上项目会报:Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
详情可见uview-plus安装
在src/main.js中注册uview-plus
import { createSSRApp } from "vue";
import App from "./App.vue";
import uviewPlus from 'uview-plus'
export function createApp() {
const app = createSSRApp(App);
app.use(uviewPlus);
return {
app,
};
}
在src/App.vue中引入样式:
<style lang="scss">
@import "uview-plus/index.scss";
</style>
在src/uni.scss中引入主题样式:
@import "uview-plus/theme.scss";
运行如下命令安装gview-ui组件库:
npm install gview-ui
在src/pages.json中配置easycom:
"easycom": {
"autoscan": true,
"custom": {
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
"^g-(.*)": "lview-plus/components/g-$1/g-$1.vue"
}
}
// main.js
import { createSSRApp } from "vue";
import App from "./App.vue";
import uviewPlus from 'uview-plus';
import lviewPlus from 'lview-plus';
export function createApp() {
const app = createSSRApp(App);
app.use(uviewPlus);
lviewPlus.install(app)
return {
app,
};
}
FAQs
lview-plus
We found that lview-plus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.