3 ms·
I don't follow. How to use Vue's single-file component if you only load Vue from a script tag? And can I use Brunch instead of Webpack if I want to use single-f
by The_suffocated 8y ago
I don't follow. How to use Vue's single-file component if you only load Vue from a script tag? And can I use Brunch instead of Webpack if I want to use single-file components?
- crazyideaman 8y agoVue's single file components (SFC) require a build tool such as Webpack or Browserify. See https://vuejs.org/v2/guide/single-file-components.html https://vuejs.org/v2/guide/single-file-components.html
- shakna 8y ago> And can I use Brunch instead of Webpack if I want to use single-file components? Probably, but Vue only officially supports Webpack or Browserify.