while upgrading to symfony 6.1
This commit is contained in:
.envTODOsymfony.lock
assets
app.jsbootstrap.jscontrollers.json
composer.jsoncomposer.lockpackage.jsonpostcss.config.jscontrollers
js
App.vue
components
AppLink.vueHandleLogout.vueLoginForm.vueNotFound.vueTheAbout.vueTheFooter.vueTheNavbar.vueTheSidebar.vue
blog
minesweeper
pages
projects
quotes
tabs
users
composables
index.jsrouter
stores
styles
public
src
Controller
Security
templates
webpack.config.jsyarn.lock
16
assets/controllers/hello_controller.js
Normal file
16
assets/controllers/hello_controller.js
Normal file
@ -0,0 +1,16 @@
|
||||
import { Controller } from '@hotwired/stimulus';
|
||||
|
||||
/*
|
||||
* This is an example Stimulus controller!
|
||||
*
|
||||
* Any element with a data-controller="hello" attribute will cause
|
||||
* this controller to be executed. The name "hello" comes from the filename:
|
||||
* hello_controller.js -> "hello"
|
||||
*
|
||||
* Delete this file or adapt it for your use!
|
||||
*/
|
||||
export default class extends Controller {
|
||||
connect() {
|
||||
this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user