Open scramatte opened 1 year ago
+1
I have the same problem too. @scramatte, were you able to solve it? Do you have any suggestions?
After conducting some research, I have found a solution. Follow the steps that I have taken to resolve the issue.
npm i
in the terminal.npm run dev
now, you should have two issues:
const Vue = require("@vue/compat/dist/vue.cjs.prod");
to const Vue = require("vue");
.module.exports = {
plugins: [
require('autoprefixer'),
],
};
npm run dev
. It should now work without errors."0": {
"type": "path",
"url": "./nova-components/NovaGridSystem"
}
"codenco-dev/nova-grid-system": "@dev"
.composer install
in the root of your Nova project.While I may consider making a pull request to the original package to fix the issue, I currently don't have the time to test if the same solution would work even with different package versions.
PS: After recompiling Vue files using npm run dev
, issues related to the hide()
and show()
logic (#29 and #27) should be resolved. I think that these bugs will always be resolved. However, in the repository installed with Composer requiring the distribution version of "tool.js," it might not get updated.
I hope this guide proves helpful to you all.
Hi,
I've been able to rebuild the package, but I'm unable to use it in my project. When I exec "composer install" , it still download the original source instead use the local one
What I've missed?
Regards
Hi @scramatte,
you should remove the original source from composer.json and keep only the local one.
Hi,
I get it working and by the way, I've resolved the issue with displayUsing see bug #31 When I get sometime, I will commit the changes.
Regards
This repo looks dead. This will do the trick: https://github.com/outl1ne/nova-grid
Hello,
I'm building a visual form builder for Nova and I use your library. https://github.com/operativeit/nova-form-designer
I've been able to render fields but I'm unable to set field value without use "this.$refs."
What I've seen is most of Nova fields vue components looks like the following:
They use DefaultField as base component and they have
:value="value"
attribute but it doesn't works as expected because "value" prop is missing into DefaultField component.I've fork your component to try to fix it but I'm unable to rebuild it. Pleae see the screenshot. Can you give me an hand? If my fix work I will make a PR.
Regards