Integrating Vue.js in Play Framework with sbt-vuefy

sbt-vuefy integrates Vue single-file components into Playframework. While running Playframework with sbt run, it hot-reloads changes to Vue components. It also works with sbt stage, which triggers production builds. Both Typescript and Javascript components are supported, and you can mix them. Check the example in the test-play-project folder. Currently, the plugin is actively used with over 200 Vue components in Javascript and Typescript. Requirements: You need to specify the webpack binary location and the configuration location, allowing you to use your custom webpack.

zip
sbt-vuefy-master.zip 预估大小:41个文件
folder
sbt-vuefy-master 文件夹
folder
.circleci 文件夹
file
config.yml 798B
file
.gitignore 152B
file
README.md 6KB
file
build.sbt 930B
file
LICENSE 1KB
file
package.json 30B
folder
src 文件夹
folder
test 文件夹
folder
scala 文件夹
folder
helpers 文件夹
file
BaseSpec.scala 1KB
folder
givers 文件夹
folder
vuefy 文件夹
file
CompilerSpec.scala 8KB
file
CompilerIntegrationSpec.scala 3KB
folder
assets 文件夹
file
tsconfig.json 211B
file
dummy.ts 199B
folder
vue 文件夹
file
component-a.vue 358B
file
component-d.vue 295B
folder
dependencies 文件夹
file
_component-b.vue 298B
file
_component-c.vue 116B
file
style.scss 37B
file
webpack.func-style.config.js 909B
file
webpack.config.js 798B
folder
main 文件夹
folder
resources 文件夹
file
sbt-vuefy-plugin.js 2KB
folder
scala 文件夹
folder
givers 文件夹
folder
vuefy 文件夹
file
SbtVuefy.scala 5KB
file
Compiler.scala 7KB
file
.scalafmt.conf 351B
folder
test-play-project 文件夹
file
tsconfig.json 185B
file
README.md 358B
folder
conf 文件夹
file
routes 164B
file
application.conf 23B
file
build.sbt 1KB
folder
app 文件夹
folder
libraries 文件夹
file
Renderer.scala 282B
folder
views 文件夹
file
index.scala.html 530B
folder
assets 文件夹
folder
vue 文件夹
folder
components 文件夹
file
greeting-form.vue 1KB
folder
common 文件夹
file
_our-js-button.vue 370B
file
_our-button.vue 443B
folder
controllers 文件夹
file
HomeController.scala 464B
file
package.json 581B
file
.scalafmt.conf 351B
file
webpack.config.js 2KB
folder
project 文件夹
file
plugin.sbt 322B
file
build.properties 19B
file
version.sbt 32B
folder
project 文件夹
file
plugins.sbt 268B
file
build.properties 19B
zip 文件大小:31.19KB