#vue #typescript #spa

bin+lib vue_convert

A cli tool and rust lib to convert a set of html files to a Vue Single File Component base Vue Spa automatically

1 unstable release

0.1.1 Jul 11, 2020

#20 in #vue

MIT/Apache

9KB
119 lines

Vue-convert   Build Status Latest Version ![vue_convert: rustc 1.40+]

Designed for typescript only, support for es-whatevs syntax is a non-goal.

usage

find ./ -name '*.html' | xargs vue_convert

Roadmap

  • Generate a vue single file component from a html file
  • [] Extract relevant css rules to <style> rather than using links
  • [] Generate a vue router from a sitemap.xml
  • [] Link router and sfcs
  • [] Integrate a web-scraper to turn any webpage into a vue spa auto-magically
  • [] Add pwa support to generated vue spa for offline viewing prowess

Contributors welcome

Dependencies

~5MB
~102K SLoC