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 🙏

© 2026 – Pkg Stats / Ryan Hefner

fe-sass-base

v1.0.2

Published

使用sass的前端项目模板

Readme

fe-sass-base

使用sass的前端项目模板

sass

使用mm-sass-base提供基础环境配置, 包含常用mixin, 函数, 工具类

目录结构如何安排

  • partials: mm-sass-base提供的mixin, 函数不够时, 在项目partials目录下添加所需功能并在_base.scss中引入
  • modules: 项目中通用的模块, 如讲师, 教程, 培训, 会在多个页面复用, 在modules下添加对应的tutorial.scss文件, 方便维护和复用
  • components: 项目相关的组件样式
  • generic: 添加自定义的通用类
  • vendors: 第三方css文件

如何引入第三方css如animate.css

根据对应css提供的功能选择以下方法之一

  • 如果该css已发布到npm, 使用npm install animate.css安装, 然后import到sass文件即可
  • 如果该css支持自定义编译, 如animate.css, 配置animate-config.json然后按需编译到项目中, 再import到sass文件中
  • 如果是普通css, 那就拷贝到css/vendors目录下, import到sass文件中