Open nkbaim opened 2 years ago
Hello,buddy, how did you fix the problem?
Hello,buddy, how did you fix the problem?
Firstly, modify the package.json
file in the root directory, change the version of vue to ^2.6.0
, and vue-loader to ^15.0.0
.
Then, run system("npm install")
to update the packages.
I also modified the srcjs/config/loaders.json
as below:
[
{
"test": "\\.(js|jsx)$",
"use": [
"babel-loader"
],
"exclude": "/node_modules/"
},
{
"test": "\\.vue$",
"use": [
"vue-loader"
],
"exclude": "/node_modules/"
},
{
"test": "\\.css$",
"use": [
"css-loader"
]
}
]
Then, packer::bundle()
works.
Yeah, It did work.Thanks.
Vue's latest and stable version has been bumped, I will have to modify scaffold. Thanks for flagging this.
Vue's latest and stable version has been bumped, I will have to modify scaffold. Thanks for flagging this.
Thanks. I hope scaffold can support vue 3. The default Vue version has upgraded to Vue 3. Hope this can help you.
Hi, I tried to build a shiny app that uses vue.js just following the document https://packer.john-coene.com/#/examples/shiny-bs4
However, run above codes will results below errors:
Seems that change the version of vue to
^2.6.0
and vue-loader to^15.0.0
could fix this problems.