Coder Social home page Coder Social logo

murby's People

Contributors

dependabot[bot] avatar fngr2911 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

murby's Issues

panel without images | startup with router.php

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

[suggestion] only inject livereload script on dev env

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 :)

Add concurrently to the devDependencies

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.

Support multiple pages

Is it possible to have multiple pages (templates) all with their own js and css bundle files?

Plugins Problem

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.