Socket
Socket
Sign inDemoInstall

maroon2

Package Overview
Dependencies
368
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    maroon2

乐知行移动端组件库vue2版


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

maroon

乐知行移动端组件库vue2版,组件从vux 2.1.1-rc.7版本开始。改变了项目的结构,将demo和组件代码分离。使用自己的maroon-loader替代vux-loader,减轻的loader的复杂性和依赖性,并且实现了npm install引入和本地引入两种方式。文档是使用docsify修改而来,实现了文档和demo的同时预览已经demo的手机扫码预览。后续可继续增加demo的实时编辑预览功能,以及在文档中增加讨论功能。

运行文档

# 下载依赖
yarn install
# 运行文档,默认4001端口。点击进入docs文件夹即可。
npm run docs
# 运行本地demo
npm run dev

# 将本地demo打包
npm run build

注意,在开发的过程中可以直接到server/public/docs/index.html中将demo路径指向本地server.注意,host请写自己主机IP,方便手机扫码预览。

FAQs

Last updated on 04 Aug 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc