Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Twig-based "slug" field into Vue component. #8

Closed
bobdenotter opened this issue Oct 2, 2018 · 2 comments
Closed

Convert Twig-based "slug" field into Vue component. #8

bobdenotter opened this issue Oct 2, 2018 · 2 comments

Comments

@bobdenotter
Copy link
Member

bobdenotter commented Oct 2, 2018

Currently, the "slug" field is generated in HTML. Code for the field is here: https://github.com/bobdenotter/symfony-skeleton/blob/master/templates/editcontent/fields/slug.twig

screenshot 2018-10-02 at 19 38 08

Ideally, this field should be converted to a nice, self-contained Vue component, that's easier to maintain.

Current JS code entry point is here: https://github.com/bobdenotter/symfony-skeleton/blob/master/assets/js/bolt.js

Build instructions are in README.md. After setting up, you should be able to log on to the Admin Panel, at /bolt, and from the Dashboard click on "Edit" on any of the dummy records to go to the Edit page.

Note: the current code is very prototype-y. Feel free to re-arrange stuff, if it makes more sense. :-)

@jackiboy
Copy link
Member

@bobdenotter you can close this badboy

@bobdenotter
Copy link
Member Author

Fixed in #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants