2ue / rest-css

A rest css style list that you can use it in javascript and css。

Home Page:https://www.npmjs.com/package/rest-css

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A rest css style list that you can use it in javascript and css。

https://www.npmjs.com/package/rest-css

License:MIT License


Languages

Language:CSS 95.6%Language:JavaScript 4.4%