npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-cli-plugin-vusion

v0.14.7

Published

Vue CLI Plugin for Vusion Projects

Downloads

150

Readme

vue-cli-plugin-vusion

Vue CLI Plugin for Vusion Projects

CircleCI NPM Version Dependencies NPM Download

screenshot

Vusion Config

{
    type: '', // Vusion 项目类型,如:'app', 'library', 'component', 'block', 'repository'
    outputPath: '', // 如果设置,vue.config.js 的 `outputDir` 属性
    publicPath: '', // 如果设置,vue.config.js 的 `publicPath` 属性
    staticPath: '', // 静态资源目录。构建时,会将该目录中的资源全部原样拷贝到输出目录下。
    srcPath: './src', // 源文件目录。在项目中会自动注册别名'@'。
    libraryPath: '', // 项目库目录。默认留空,表示与'srcPath'一致。在项目中会自动注册别名'@@'。
    baseCSSPath: '', // 基础样式(如 reset 样式)的路径。默认留空,会查找'@/base/base.css'。在项目中会自动注册别名'baseCSS'。
    theme: undefined, // 选择主题。主题 CSS 所在的路径,主题名称为 CSS 名。也可以为一个对象。
    applyTheme: false, // 应用主题,将主题变量注入到 CSS 中。如果需要兼容 IE 浏览器,必须开启。
    docs: false, // 文档配置
    docStaticURL: '', // 文档静态资源 URL,默认为 https://static-vusion.163yun.com
    alias: { // 用于设置 Webpack 别名
        '@': path.resolve(__dirname, 'src'),
        ...
    },
};

Commands

全局

  • 增加了 alias
  • 增加了 vue-multifile-loader
  • 对 CSS 做了处理

library-build

专门针对库进行构建。

--theme

设置主题。

--vusion-mode raw

原生模式,一般在打包组件库时使用,不处理 babel、icon-font、css-sprite。

--base-css

设置 Base CSS 的路径。

--cache

缓存库的打包。

--output-path

覆盖默认的 output.path。

--public-path

覆盖默认的 publicPath。

--src-path

覆盖默认的 srcPath。

--library-path

覆盖默认的 libraryPath。

doc

开发文档,启动文档的 dev 服务。

doc-build

构建文档。

Generator

没有 Generator,请使用 vusion init

UI

增加了 Vusion Config 的配置界面。

Changelog

See Releases

Contributing

See Contributing Guide

License

MIT