Coder Social home page Coder Social logo

Comments (9)

erjanmx avatar erjanmx commented on June 12, 2024

Hi, thanks.

Did you try to publish assets via the artisan command?

php artisan vendor:publish --provider=Erjanmx\\LiveTinker\\LiveTinkerServiceProvider --tag=public --force

from laravel-live-tinker.

martinandersen3d avatar martinandersen3d commented on June 12, 2024

yes i did try that (windows 10).

The files does not get copied.

from laravel-live-tinker.

martinandersen3d avatar martinandersen3d commented on June 12, 2024

In this file:
https://github.com/erjanmx/laravel-live-tinker/blob/master/src/resources/views/index.blade.php

is the url reference for the CSS and JS correct?

2018-10-08 22_02_52-live-tinker

from laravel-live-tinker.

erjanmx avatar erjanmx commented on June 12, 2024

Those files are supposed to get copied into
public/vendor/live-tinker

Do they exist in this location? Do you have some custom web-server configuration on serving static files?

from laravel-live-tinker.

erjanmx avatar erjanmx commented on June 12, 2024

@martinandersen3d , any news?

from laravel-live-tinker.

martinandersen3d avatar martinandersen3d commented on June 12, 2024

the files does not get copied, when i run the command from the commandline

php artisan vendor:publish --provider=Erjanmx\\LiveTinker\\LiveTinkerServiceProvider --tag=public --force

image

from laravel-live-tinker.

martinandersen3d avatar martinandersen3d commented on June 12, 2024

ok.. succes - it works now:

Follow these steps:
1- Add service provider to providers array on the config/app.php
2- Run php artisan config:cache
3- Run composer update
4- Run php artisan config:cache
5- Run php artisan vendor:publish

I'm on version Laravel Framework 5.5.44 - I did also add:
to configure by adding Service Provider in your /config/app.php

'providers' => [
    // other providers
    
    Erjanmx\LiveTinker\LiveTinkerServiceProvider::class,
 ],

from laravel-live-tinker.

erjanmx avatar erjanmx commented on June 12, 2024

Good, we can close this issue then?

from laravel-live-tinker.

martinandersen3d avatar martinandersen3d commented on June 12, 2024

from laravel-live-tinker.

Related Issues (1)

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.