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

sailing-view-plus-beta

v0.0.4

Published

- vue3 - vue-router4 - pinia - vite - type script - echart - mitt - element plus - axios - eslint 代码校验 - prettierrc 代码格式化

Downloads

8

Readme

vue3 脚手架技术栈

  • vue3
  • vue-router4
  • pinia
  • vite
  • type script
  • echart
  • mitt
  • element plus
  • axios
  • eslint 代码校验
  • prettierrc 代码格式化

安装依赖

$ npm install

运行

$ npm run dev

打包

$ npm run build

发布

$ npm login --npmaccount
$ npm publish

第三方项目应用

$ npm install sailing-view-plus

//main.ts中
import SailingViewPlusBeta from 'sailing-view-plus';
import 'sailing-view-plus/dist/style.css';

const app = createApp(App);
app.use(SailingViewPlusBeta);

//env.d.ts.ts
declare module 'sailing-view-plus';

注意事项

由于 vue2 和 vue3 语法不一样,vscode 开发需要安装特有的 vue 语法插件(volar)

项目目录

vue3-cli
├── .vscode
│   ├── extensions.json        //IDE 插件配置
│   └── settings.json          //IDE配置
├── src
│   ├── assets                 //项目静态资源
│   │   ├── error_images
│   │   ├── headerBg_light.png
│   │   ├── loading.gif
│   │   ├── logo.png
│   │   └── sailing-logo.png
│   ├── packages               //组件包源码
│   ├── layout                 //公用布局页
│   ├── libs                   //工具函数
│   ├── models                 //ts 函数,对象接口
│   │   ├── interfaces
│   │   └── types
│   ├── router                 //路由
│   │   ├── index.ts
│   │   └── routes.ts
│   ├── store                  //状态管理
│   │   ├── modules
│   │   └── index.ts
│   ├── styles                 //全局样式
│   │   ├── index.less
│   │   └── scrollbar.less
│   ├── views                  //视图
│   ├── App.vue                //根组件
│   ├── env.d.ts               //全局声明文件
│   └── main.ts                //入口文件
├── .eslintrc.js               //eslint 代码校验
├── .prettierrc.js             //代码自动格式化
├── README.md                  //说明文件
├── index.html                 //模板页
├── package.json               //项目配置信息
├── tsconfig.json              //ts配置信息
└── vite.config.ts             //打包构建配置信息