put `grid: <gridname>` into your route like this:
tests:
path: /tests
defaults:
_controller: app.controller.test:indexAction
_sylius:
template: tests/index.html.twig
grid: app_test
put `grid: <gridname>` into your route like this:
tests:
path: /tests
defaults:
_controller: app.controller.test:indexAction
_sylius:
template: tests/index.html.twig
grid: app_test
run `php bin/console app:install:database`, after then you will have user "admin@example.com" with password "admin". You can use it in 127.0.0.1:8000/admin/login
It occurs when to get error message (with `errors.first('myfield')`) of not existing field. In another words, check that component field has v-validate tag attribute (and maybe also `name` attribute). Or remove `errors.first('myfield')` line at all, this will fix this error.
If you installed @types/node-sass, enabled enableSassLoader in webpack.config.js, ran yarn add sass-loader@^8.0.0 node-sass --dev , do not forget to add {{ encore_entry_link_tags('main') }} like this (for example in templates/base.html.twig:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}
{{ encore_entry_link_tags('main') }}
{% endblock %}
</head>
<body>
{% block body %}{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('main') }}
{% endblock %}
</body>
</html>