spatie / blender Goto Github PK
View Code? Open in Web Editor NEWThe Laravel template used for our CMS like projects
Home Page: https://freek.dev/on-open-sourcing-blender
The Laravel template used for our CMS like projects
Home Page: https://freek.dev/on-open-sourcing-blender
It would be handy if we could have a more easy way to debug email layouts and test the email template and effect of the CSS inliner.
eg. Use something like resources/email/layout/testContent.blade.php
as dummy content to test HTML content and send this with an artisan task like test:email
Current implementation is broken, try out laravel-elixir-browser-sync-simple
[12:47:09] Using gulpfile ~/code/blendup/gulpfile.js
[12:47:09] Starting 'default'...
[12:47:09] Starting 'webpack'...
[12:47:09] Starting 'svg'...
[12:47:10] Finished 'svg' after 915 ms
Hash: c1175115de18d3b5b80f
Version: webpack 2.1.0-beta.2
Time: 97818ms
Asset Size Chunks Chunk Names
back.media.js 1.32 MB 0 [emitted] back.media
front.head.js 45.1 kB 1 [emitted] front.head
front.app.js 340 kB 2 [emitted] front.app
front.validation.js 42.9 kB 3 [emitted] front.validation
back.chart.js 126 kB 4 [emitted] back.chart
back.vendor.js 271 kB 5 [emitted] back.vendor
back.editor.js 3.05 kB 6 [emitted] back.editor
back.head.js 46.6 kB 7 [emitted] back.head
back.app.js 1.25 MB 8 [emitted] back.app
rev-manifest.json 334 bytes [emitted]
[86] multi back.vendor 28 bytes {5} [built]
+ 345 hidden modules
ERROR in Entry module not found: Error: Can't resolve 'style' in '/home/vagrant/code/blendup/resources/assets'
ERROR in Entry module not found: Error: Can't resolve 'style' in '/home/vagrant/code/blendup/resources/assets'
ERROR in ./js/back/modules/editor.js
Module not found: Error: Can't resolve '../redactor/langs/nl.js' in '/home/vagrant/code/blendup/resources/assets/js/back/modules'
@ ./js/back/modules/editor.js 12:0-34ERROR in ./js/back/modules/editor.js
Module not found: Error: Can't resolve '../redactor/redactor/redactor.js' in '/home/vagrant/code/blendup/resources/assets/js/back/modules'
@ ./js/back/modules/editor.js 10:0-43ERROR in ./js/back/modules/editor.js
Module not found: Error: Can't resolve '../redactor/plugins/imagemanager.js' in '/home/vagrant/code/blendup/resources/assets/js/back/modules'
@ ./js/back/modules/editor.js 14:0-46ERROR in ./js/back/modules/editor.js
Module not found: Error: Can't resolve '../redactor/plugins/video.js' in '/home/vagrant/code/blendup/resources/assets/js/back/modules'
@ ./js/back/modules/editor.js 16:0-39
[12:48:51] Finished 'webpack' after 1.68 min
when i run gulp --back, have Browserify Failed!: Cannot find module 'blender-media' this error.
dig into the code, i found the issue is in resource/assets/js/back/app.js, last line code is
require('./media')
if i comment out this line, they run gulp --back, it works without the error.
so looks like missed some file? how can i fix it?
thanks
Multiple issues, random thoughts:
We got no love for the $model->present()->method
syntax. Let's replace it with traits.
Prevent search engines from indexing demo sites.
Right now, we share fragments with the front site requires you to fetch them in the controller, and dump a @javascript
directive in the view.
Would be nicer if the server-rendered pages wouldn't care about which fragments the client application needs.
Instead of window.blender.fragments
, client applications could load fragments through an API call.
Maybe an excuse to use something fancy like a service worker to proxy requests that have already been loaded ๐
Either way, loading fragments in the client is a problem that should be solved in a generic way across all projects.
how to build out the build/css/back.css?
thanks
Hello,
I used your Envoy.blade.php
and I got Httpful\Exception\ConnectionErrorException
.
Do you have any idea? Thanks.
[127.0.0.1]: start deployment
[127.0.0.1]: Already on 'master'
[127.0.0.1]: Your branch is up-to-date with 'origin/master'.
[127.0.0.1]: From gitlab.dev:vendor/project
[127.0.0.1]: * branch master -> FETCH_HEAD
[127.0.0.1]: Already up-to-date.
<url> malformed
[Httpful\Exception\ConnectionErrorException]
Unable to connect to "": 3 <url> malformed
run [--pretend] [--] <task>
Title says it all ๐
Enable submenus or another hierarchy to structure larger projects.
๐ฑ
The backsite could be sped up quite a bit by using pjax when using the main navigation.
Abstract the code in Navigation.php
for easier menu generation.
Keep track of old page URL's and redirect them to the new location.
We're not actively using breadcrumbs besides the simple ones in the admin section. These could probably be easily replaced by a simple view or helper. If it really is easily replaced, it's not really worth it to keep the dependency.
I do not see the configuration of elixir.
I just see in gulpfile.js
require('blender-gulp');
Some modules might use cache sections, these should be deprecated in favor of stores.
Updating fragment's doesn't correctly update the activity log.
Hi !
I'm trying to install blender on my homestead box. I went through all the installation steps and always run into this error :
[10:24:55] gulp-notify: [Laravel Elixir] Sass Compilation Failed: resources/assets/sass/back/back.scss
Error: file to import not found or unreadable: datatables/media/css/jquery.dataTables
Current dir:
on line 7 of stdin
>> @import 'datatables/media/css/jquery.dataTables';
--------^
{ [Error: resources/assets/sass/back/back.scss
Error: file to import not found or unreadable: datatables/media/css/jquery.dataTables
Current dir:
on line 7 of stdin
>> @import 'datatables/media/css/jquery.dataTables';
--------^
]
I've tried it a few times before posting this issue. Seems like datatables module is installed by the blender.js package but sass doesn't seem to have access to it. Any idea ?
Thanks.
Xavier
.. and write documentation
hello,
when i run gulp, i get Error: spawn webpack ENOENT, how can i fix it?
blender.dev/nl/qsdfqdfqs gives a SQL error / whoops
blender.dev/nlqsdfqdfqs gives a 404
Features are good, but the model, trait and repository could use some refactors.
Babel-polyfill is very heavy and ships with lots of unnecessary polyfills.
What we need:
Symbol
Array.from
fetch
I installed Blender according to the instructions, ran composer and NPM and then invoked gulp, but then I get the following:
gulp
/var/www/html/node_modules/blender-gulp/gulpfile.js:16
gulp.task('default', callback => {
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/var/www/html/gulpfile.js:1:63)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
Disabled text inputs look just the same as normal ones, should be grayed out or something similar.
[ReflectionException]
Class App\Notifications\Eventhandler does not exist
is thrown in a fresh git clone when attempting to run artisan.
I'm working on a fix for this.
First set up . I got class log doesn't exist before trying to generate app key.
$request->get('foo', 'bar')
)The online toggle deserves some love.
What is the advantage of defining the roles as enums instead as array as below
public static function getRoles()
{
return [
'ADMIN' => 'admin',
'MEMBER' => 'member'
];
}
Hi there!
I got an error after following the installation process on gulp...
events.js:154
throw er; // Unhandled 'error' event
^
Error: spawn webpack ENOENT
at exports._errnoException (util.js:890:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Function.Module.runMain (module.js:449:11)
at startup (node.js:146:18)
at node.js:404:3
What am I missing here?
Thanks!
Would get rid of the dreaded malformed url error when you forget to set up the Slack webhook
https://github.com/vinkla/translator
Because using traits is cooler than inheritance.
lang
file contents to fragmentsProvide a clean way to set page titles.
Hello, I am using windows 10 and WAMP, I followed the instructions very well, but I got the above error "Error: spawn webpack ENOENT".
Here is the output from CMD.
[01:25:47] Using gulpfile C:\wamp64\www\blender\gulpfile.js
[01:25:47] Starting 'default'...
[01:25:47] Starting 'webpack'...
[01:25:47] Starting 'svg'...
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn webpack ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
at onErrorNT (internal/child_process.js:348:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:592:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Also, during npm install -g webpack, I received the warning below.
npm WARN optional Skipping failed optional dependency /webpack/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
Looking forward for your help.
Thanks
Foundation pretty much never changes on a per-project basis. Would be better to move this to one or multiple packages.
spatie/enum
spatie-custom/blender-model
(maybe move ModuleModelController
there too?)spatie/laravel-tags
or spatie-custom/blender-tags
If a project really needs an override, we can just copy the code from the package. I'm not afraid of this situation since I don't think I've ever had to do this, so it would be an edge case.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.