Skip to content
/ tcss Public

an demo combine with postcss && autopretty

Notifications You must be signed in to change notification settings

plh97/tcss

Repository files navigation

做个css样式自动优化的API接口以及前端界面

technology stack

  • postcss-loader
  • autopretty
  • ...

it is an demo auto change normal css into autopretty

image

API

ok,i alse open the API,and let u to input u css code to get hack version

  axios({
    method: 'post',
    url: 'https://api.pipk.top/postcss',
    type: "json",
    data: {
      css: this.msg
    }
  }).then(res=>{
    if(res.data.success){
      this.css = res.data.data.css;
      console.log(this.css);
    }
  }).catch(err=>{
    console.log(err);
    this.$message.error('格式不合法')
  })

About

an demo combine with postcss && autopretty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published