fngr2911 / murby Goto Github PK
View Code? Open in Web Editor NEWA plain Kirby 3 starterkit on steroids!
A plain Kirby 3 starterkit on steroids!
Kudos for your great project!
The Kirby docs suggest to startup the local PHP server with a reference to kirby/router.php
:
php -S localhost:8000 kirby/router.php
The page will work without the router, but images are not shown in the panel. A click on the resource results in an error:
The JSON response from the API could not be parsed. Please check your API connection.
cd murby/web
and php -S localhost:8282 kirby/router.php -t ../web
will show the images in the panel without errors.
package.json contains the local php server startup on line 6:
"server": "php -S localhost:8282 -t web",
A change to
"server": "php -S localhost:8282 web/kirby/router.php -t web",
won't work.
I there a chance to startup the server with the router.php
?
Cheers, Johannes
Please add the tailwindcss for the starter kit 👍
Hello !
Here is a suggestion to avoid to inject the livereload script in the footer even on a production environement.
I'm setting a env variable in my Apache conf file httpd.conf
:
SetEnv DEV_ENV true
And in the footer I wrapped the script inject with a condifition :
<?php
$env = getenv('DEV_ENV', true) ?: getenv('DEV_ENV');
if($env == true):?>
<script src="http://localhost:35729/livereload.js"></script>
<?php endif ?>
Let me know what you think, I could make a PR if needed :)
Hi there,
It seems that Murby's server isn't compatible with the kirby-builder plugin. The panel display "The field type "XXX" does not exist"
. However, the plugin works with on a server launched with the command php -S localhost:8000 kirby/router.php
.
Would be also a great feature to update CSS files without a full reload.
Tried your boilerplate for the first time, nice job. npm run start
won’t work without having concurrently global, so probably it’s best to add it to the devDependencies.
Is it possible to have multiple pages (templates) all with their own js and css bundle files?
Are you planning to implement a live reload for content changes? (html, php, yml, etc. )
I tried installing the locator plugin and couldnt get it to load. I removed the "web" folder and rejigged to get all in the root which seems to have resolved the issue.
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.