0.4.5 • Published 4 years ago

@espkg/mina2vue v0.4.5

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

mina2vue

Convert native wxml, wxss eg. to .vue files

Functions

There are four main functions needed to successfully convert one page to vue.

  • jsConverter converts *.js to vue-friendly js.
  • wxmlConverter converts *.wxml to vue template syntax
  • wxssConverter converts *.wxss to vue stylesheet (CSS) syntax
  • vueGenerator combines the three things above into a vue file's content.
fninputoutput
jsConvertersourceCode(string), options({ type: 'page' })script distCode(string)
wxmlConvertersourceCode(string), options({})template distCode(string)
wxssConvertersourceCode(string), options({})style distCode(string)
vueGeneratortemplate(wxmlConverter distCode), style(wxssConverter distCode), scripts(jsConverter distCode)vue distCode(string)
0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago