babel plugin styled tag::thinking_face:为Babel创建一个插件 源码
babel-plugin-styled-tag :thinking_face: 用样式定义标签。 运作方式 src / index.js const STYLED_DIV = { fontSize : 14 , color : 'red' } , a = 1 ; const b = 2 ; const App = ( ) => { console . log ( a + b ) return ( < STYLED xss=removed xss=removed> hello world < / STYLED_DIV > ) } export default App dis
下载地址
用户评论