AntonioLoureiro / VueJS.jl

Julia web app builder using Vue.js
Other
12 stars 3 forks source link

Improve web dependency behaviour #100

Closed charlieIT closed 2 years ago

charlieIT commented 2 years ago

Proposed changes

Altered struct WebDependency

Improved dependency loading behaviour

Code examples

using VueJS

@show VueJS.DEPENDENCIES 
# should print the default dependencies as defined under deps.json

external_deps = "/some/fs/location/deps.json"
VueJS.load_libraries!(external_deps)
# should alter and display `global DEPENDENCIES`

# Updates to library methods
@show VueJS.library("https://cdn.jsdelivr.net/npm/@mdi/font@4.x/fonts/materialdesignicons-webfont.woff2?v=4.9.95")