瀏覽代碼

webpack tabler

tags/0.1
Guillaume 3 年之前
父節點
當前提交
0e596481c0
共有 10 個檔案被更改,包括 23 行新增197 行删除
  1. +0
    -12
      Resources/assets/app.js
  2. +0
    -1
      Resources/assets/apps/backend/common/common.js
  3. +0
    -6
      Resources/assets/apps/backend/common/common.scss
  4. +3
    -4
      Resources/assets/apps/tabler/app.tabler.js
  5. +9
    -0
      Resources/assets/apps/tabler/tabler.min.css
  6. +9
    -0
      Resources/assets/apps/tabler/tabler.min.js
  7. +0
    -11
      Resources/assets/bootstrap.js
  8. +0
    -3
      Resources/assets/styles/app.css
  9. +1
    -5
      Resources/public/build/entrypoints.json
  10. +1
    -155
      Resources/public/build/runtime.js

+ 0
- 12
Resources/assets/app.js 查看文件

@@ -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';

+ 0
- 1
Resources/assets/apps/backend/common/common.js 查看文件

@@ -1 +0,0 @@


+ 0
- 6
Resources/assets/apps/backend/common/common.scss 查看文件

@@ -1,6 +0,0 @@

$color: red ;

body {
background-color: $color ;
}

Resources/assets/apps/backend/common/app.common.js → Resources/assets/apps/tabler/app.tabler.js 查看文件

@@ -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 !') ;

+ 9
- 0
Resources/assets/apps/tabler/tabler.min.css
文件差異過大導致無法顯示
查看文件


+ 9
- 0
Resources/assets/apps/tabler/tabler.min.js
文件差異過大導致無法顯示
查看文件


+ 0
- 11
Resources/assets/bootstrap.js 查看文件

@@ -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);

+ 0
- 3
Resources/assets/styles/app.css 查看文件

@@ -1,3 +0,0 @@
body {
background-color: lightgray;
}

+ 1
- 5
Resources/public/build/entrypoints.json 查看文件

@@ -2,11 +2,7 @@
"entrypoints": {
"backend-common": {
"js": [
"/build/runtime.js",
"/build/backend-common.js"
],
"css": [
"/build/backend-common.css"
"/build/runtime.js"
]
}
}

+ 1
- 155
Resources/public/build/runtime.js
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存