taoeffect / vue-script2

Standardized, designer-friendly <script> behavior for your Single Page App
171 stars 15 forks source link

Use without require #14

Closed blacksrv closed 6 years ago

blacksrv commented 6 years ago

Hey, it's possible to use it without require?

taoeffect commented 6 years ago

Not sure what you mean? You can use import as well, e.g.

import 'vue'
import VS2 from 'vue-script2'

Vue.use(VS2)