mount-css
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

mount-css

A simple function for mounting css

NPM version Codacy Badge Test coverage npm download gzip License

Sonar

Installing

# use pnpm
$ pnpm install mount-css

# use npm
$ npm install mount-css --save

# use yarn
$ yarn add mount-css

Usage

General use

import mountCss from 'mount-css'

mountCss('css url', options)
  1. by require
const mountCss = require('mount-css')

mountCss('css url', options)

Use CDN resource

<!-- head -->
<script src="https://unpkg.com/mount-css@1.2.0/dist/index.global.prod.js"></script>

Support & Issues

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i mount-css

Weekly Downloads

35

Version

1.2.0

License

MIT

Unpacked Size

14.3 kB

Total Files

11

Last publish

Collaborators

  • saqqdy