@@ -1,12 +0,0 @@ | |||
/* | |||
* Welcome to your app's main JavaScript file! | |||
* | |||
* We recommend including the built version of this JavaScript file | |||
* (and its CSS file) in your base layout (base.html.twig). | |||
*/ | |||
// any CSS you import will output into a single css file (app.css in this case) | |||
import './styles/app.css'; | |||
// start the Stimulus application | |||
import './bootstrap'; |
@@ -1 +0,0 @@ | |||
@@ -1,6 +0,0 @@ | |||
$color: red ; | |||
body { | |||
background-color: $color ; | |||
} |
@@ -6,10 +6,9 @@ | |||
*/ | |||
// any CSS you import will output into a single css file (app.css in this case) | |||
import './common.scss'; | |||
import './common.js'; | |||
import '../../tabler/src/js/tabler.js'; | |||
import '../../tabler/src/scss/tabler.scss'; | |||
// start the Stimulus application | |||
//import './bootstrap'; | |||
alert('Yo !') ; |
@@ -1,11 +0,0 @@ | |||
import { startStimulusApp } from '@symfony/stimulus-bridge'; | |||
// Registers Stimulus controllers from controllers.json and in the controllers/ directory | |||
export const app = startStimulusApp(require.context( | |||
'@symfony/stimulus-bridge/lazy-controller-loader!./controllers', | |||
true, | |||
/\.(j|t)sx?$/ | |||
)); | |||
// register any custom, 3rd party controllers here | |||
// app.register('some_controller_name', SomeImportedController); |
@@ -1,3 +0,0 @@ | |||
body { | |||
background-color: lightgray; | |||
} |
@@ -2,11 +2,7 @@ | |||
"entrypoints": { | |||
"backend-common": { | |||
"js": [ | |||
"/build/runtime.js", | |||
"/build/backend-common.js" | |||
], | |||
"css": [ | |||
"/build/backend-common.css" | |||
"/build/runtime.js" | |||
] | |||
} | |||
} |