rest-css

0.1.2 • Public • Published

Version Downloads License

a css file, you can import it anywhere that use the javascript.

Start

npm i --save rest-css

Use

you can use it in javascript(maybe vue, react, angluar, etc) directly, as long as you can use javascript. but you sholud keep it importing before all other css files;

  • in javascript file
import 'rest-css'
  • in vue, as long as you can use javacript, you also can inport it.
<template>
    <div id="app"></div>
</template>
<script>
    //import css,package autoly
    import 'rest-css'
    export default { }
</script>
<style>
</style>
  • of course, if you don't like import css in js, also in css to import it;
@import url('../node_modules/rest-css/src/rest.css') 

Reference

Readme

Keywords

Package Sidebar

Install

npm i rest-css

Weekly Downloads

8

Version

0.1.2

License

MIT

Last publish

Collaborators

  • 2ue