File tree Expand file tree Collapse file tree 7 files changed +48
-8
lines changed Expand file tree Collapse file tree 7 files changed +48
-8
lines changed Original file line number Diff line number Diff line change 22
33Preset for Bulma scaffolding on new Laravel 5.5.x project.
44
5- * Current version* : ** Bulma 0.6.1** + ** Bulma Extensions 0.4 .2**
5+ * Current version* : ** Bulma 0.6.1** + ** Bulma Extensions 0.5 .2**
66
77
88## Usage
@@ -16,7 +16,8 @@ Preset for Bulma scaffolding on new Laravel 5.5.x project.
16168 . ` php artisan serve ` (or equivalent) to run server and test preset.
1717
1818## Bulma Extensions
19- It is a set of missing [ Bulma.io] ( https://bulma.io/ ) functionalities in the form of extensions. More info at [ https://wikiki.github.io/ ] ( https://wikiki.github.io/ )
19+ 1 . It is a set of missing [ Bulma.io] ( https://bulma.io/ ) functionalities in the form of extensions. More info at [ https://wikiki.github.io/ ] ( https://wikiki.github.io/ )
20+ 2 . Adjust ` bulma.sass ` , ` bulma-extensions.sasss ` , ` bulma-extensions.js ` and ` app.js ` as per your need.
2021
2122## Screenshots
2223![ Bulma login screen] ( /screenshots/bulma_login_screen.jpg )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ protected static function updatePackageArray(array $packages)
4141 {
4242 return [
4343 'bulma ' => '^0.6.1 ' ,
44- 'bulma-extensions ' => '^0.4 .2 ' ,
44+ 'bulma-extensions ' => '^0.5 .2 ' ,
4545 ] + Arr::except ($ packages , ['bootstrap-sass ' , 'foundation-sites ' ]);
4646 }
4747
@@ -74,11 +74,13 @@ protected static function updateSass()
7474 */
7575 protected static function updateBootstrapping ()
7676 {
77- (new Filesystem )->delete (
78- resource_path ('assets/js/bootstrap.js ' )
79- );
77+ $ file = new Filesystem ;
78+
79+ $ file ->delete (resource_path ('assets/js/bootstrap.js ' ));
80+ $ file ->delete (resource_path ('assets/js/app.js ' ));
8081
8182 copy (__DIR__ .'/bulma-stubs/bootstrap.js ' , resource_path ('assets/js/bootstrap.js ' ));
83+ copy (__DIR__ .'/bulma-stubs/app.js ' , resource_path ('assets/js/app.js ' ));
8284 }
8385
8486
Original file line number Diff line number Diff line change 1+
2+ /**
3+ * First we will load all of this project's JavaScript dependencies which
4+ * includes Vue and other libraries. It is a great starting point when
5+ * building robust, powerful web applications using Vue and Laravel.
6+ */
7+
8+ require ( './bootstrap' ) ;
9+
10+ window . Vue = require ( 'vue' ) ;
11+
12+ /**
13+ * Next, we will create a fresh Vue application instance and attach it to
14+ * the page. Then, you may begin adding components to this application
15+ * or customize the JavaScript scaffolding to fit your unique needs.
16+ */
17+
18+ Vue . component ( 'example-component' , require ( './components/ExampleComponent.vue' ) ) ;
19+
20+ const app = new Vue ( {
21+ el : '#app'
22+ } ) ;
23+
24+
25+ require ( './bulma-extensions' ) ;
Original file line number Diff line number Diff line change 1+
2+ require ( 'bulma-extensions/bulma-accordion/accordion' ) ;
3+ require ( 'bulma-extensions/bulma-calendar/datepicker' ) ;
4+ require ( 'bulma-extensions/bulma-carousel/carousel' ) ;
5+ require ( 'bulma-extensions/bulma-iconpicker/iconPicker' ) ;
6+ require ( 'bulma-extensions/bulma-quickview/quickview' ) ;
7+ require ( 'bulma-extensions/bulma-slider/slider' ) ;
8+ require ( 'bulma-extensions/bulma-steps/steps' ) ;
9+ require ( 'bulma-extensions/bulma-tagsinput/tagsinput' ) ;
Original file line number Diff line number Diff line change 1010@import " node_modules/bulma-extensions/bulma-divider/divider.sass"
1111@import " node_modules/bulma-extensions/bulma-iconpicker/iconPicker.sass"
1212@import " node_modules/bulma-extensions/bulma-pageloader/pageloader.sass"
13+ @import " node_modules/bulma-extensions/bulma-pricingtable/pricing-table.sass"
14+ @import " node_modules/bulma-extensions/bulma-quickview/quickview.sass"
1315@import " node_modules/bulma-extensions/bulma-slider/slider.sass"
1416@import " node_modules/bulma-extensions/bulma-steps/steps.sass"
1517@import " node_modules/bulma-extensions/bulma-switch/switch.sass"
18+ @import " node_modules/bulma-extensions/bulma-tagsinput/tagsinput.sass"
1619@import " node_modules/bulma-extensions/bulma-timeline/timeline.sass"
1720@import " node_modules/bulma-extensions/bulma-tooltip/tooltip.sass"
Original file line number Diff line number Diff line change 1414
1515
1616
17- /* import bulma extensions. https://wikiki.github.io/bulma-extensions/overview */
17+ /* import bulma extensions. https://wikiki.github.io/ */
1818@import " bulma-extensions"
Original file line number Diff line number Diff line change 113113
114114 <div class =" foundation_button_test" >
115115 <p class =" framwork_title" >Bulma 0.6.1</p >
116- <p class =" framwork_title" >Bulma Extension 0.4 .2</p >
116+ <p class =" framwork_title" >Bulma Extension 0.5 .2</p >
117117
118118 <div class =" block" >
119119 <a class =" button is-primary" >Primary</a >
You can’t perform that action at this time.
0 commit comments