Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mand-mobile-next

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mand-mobile-next

面向金融场景,基于 Vue 3.0 移动端组件库

  • 0.0.1-alpha.16
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

mand-mobile-next

面向金融场景,基于 Vue 3.0 移动端组件库

npm Open in Visual Studio Codebuild

文档

开发

yarn
# then
yarn dev
  • 推荐使用 volar 作为开发 Vue3 的插件,获得更好的类型推导
  • 禁用 vetur 在当前工作区,防止与 volar 冲突

构建

yarn build

新建组件

yarn gen ${name}

组件间相互引用

import Icon from 'mand-mobile-next/icon'

单元测试 / 快照WIP

编写组件文档

其他

example

img

参考文档

component 进度

TODO

  • husky commit 校验
  • 按需加载打包
  • 组件开发任务分配
  • 组件类型构建
  • 额外的 CSS 片段移除,rollup-plugin-vuestylus 的处理有问题,得额外注入样式变量
  • esbuild 构建 Vue (esbuild 不支持 umd,是否兼容?个人觉得 esm/iife 即可)
  • 样式梳理以及金融 4.0 设计规范对接

代码片段

.selector {
  /* Positioning */
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;

  /* Display & Box Model */
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  width: 100px;
  height: 100px;
  padding: 10px;
  border: 10px solid #333;
  margin: 10px;

  /* Color */
  background: #000;
  color: #fff
  
  /* Text */
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;

  /* Other */
  cursor: pointer;
}

FAQs

Package last updated on 12 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc