index.coffee 492 B

123456789101112
  1. document.head.insertAdjacentHTML('beforeend','<style type="text/tailwindcss" component="AppLink">'+stylFns['app/shared/AppLink/index.styl']+'</style>')
  2. module.exports =
  3. default:
  4. render: (new Function '_ctx', '_cache', renderFns['app/shared/AppLink/index.pug'])()
  5. name: 'AppLink'
  6. props:
  7. to:
  8. type: [String, Object]
  9. required: true
  10. computed:
  11. isExternal: ()->
  12. return @.to.startsWith('http')