Skip to content

2ue/rest-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published