k3ssen / symfonyvuetified Goto Github PK
View Code? Open in Web Editor NEWBundle for Symfony 4.4, 5+ or 6+ with Vuetify frontend, having twig content passed down to vue components
License: MIT License
Bundle for Symfony 4.4, 5+ or 6+ with Vuetify frontend, having twig content passed down to vue components
License: MIT License
Can I help somehow to create a bundle of this? So you can install it in an existing app
Example code:
<sv-form :form="{{ form | vue }}" v-if="{{ false | vue('showForm') }}"></sv-form>
<v-btn @click="showForm = !showForm">Show/hide form</v-btn>
When you click 'show/hide form', then the form will be removed because of the 'v-if'. When clicking the button again, the form should re-appear, but this won't happen, because of the 'alreadyRendered' that is set in the form-object(s).
Some alterations are needed to allow re-enabling the form. Probably something like vue's 'destroyed' might be useful to undo the 'alreadyRendered', but maybe there are some better alternatives as the 'v-if' en 'alreadyRendered' can cause other problems as well.
Hi, I like your concept, so trying to do some test run but stuck on production due to maker bundle.
with APP_ENV=PROD
any idea on how to solve?
Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Invalid service "K3ssen\SymfonyVuetified\Maker\Generator": class "Symfony\Bundle\MakerBundle\Generator" not found while loading "K3ssen\SymfonyVuetified\Maker\Generator"
Hi,
Can you add a license information? :)
Thank you
After installing the demo today, I got the following error:
ERROR Failed to compile with 3 errors 4:33:59 PM
Module build failed: Module not found:
"./node_modules/@k3ssen/symfony-vuetified/components/Form/FormWidgetMixin.ts" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.
"./node_modules/babel-loader/lib/index.js??clonedRuleSet-14[0].rules[0].use[0]!./node_modules/ts-loader/index.js??clonedRuleSet-14[0].rules[0].use[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./assets/components/SvTextEditor.vue?vue&type=script&lang=ts&" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.
"./node_modules/babel-loader/lib/index.js??clonedRuleSet-14[0].rules[0].use[0]!./node_modules/ts-loader/index.js??clonedRuleSet-14[0].rules[0].use[1]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./node_modules/@k3ssen/symfony-vuetified/components/SvApp.vue?vue&type=script&lang=ts&" contains a reference to the file "tslib".
This file can not be found, please check it for typos or update it if the file got moved.
it is resolved by yarn add tslib
, but this wasn't nessessary before. TODO: find out why (perhaps a dependency version that has changed) and add it to package and/or instruction if needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.