Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@sweetui/sweet-mobile-lib
Advanced tools
本文将介绍 @sweetui/sweet-mobile-lib 的安装方式和基本的用法。
npm i @sweetui/sweet-mobile-lib -S
完整引入
在 main.js 中写入以下内容:
import Vue from 'vue'
import sweetMobileLib from '@sweetui/sweet-mobile-lib'
import '@sweetui/sweet-mobile-lib/css/index.less'
import App from './App.vue'
Vue.use(sweetMobileLib)
new Vue({
el: '#app',
render: h => h(App)
})
按需引入
接下来,如果你只希望引入部分组件,比如 Input 和 Group,那么需要在 main.js 中写入以下内容:
import Vue from 'vue'
import { Input, Group } from '@sweetui/sweet-mobile-lib'
import App from './App.vue'
Vue.component(Input.name, Button)
Vue.component(Group.name, Select)
new Vue({
el: '#app',
render: h => h(App)
});
FAQs
Geely Group Mobile Vue.js Component
The npm package @sweetui/sweet-mobile-lib receives a total of 1 weekly downloads. As such, @sweetui/sweet-mobile-lib popularity was classified as not popular.
We found that @sweetui/sweet-mobile-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.