• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI to progressive web app

(01-25-2019, 11:43 AM)Pertti Wrote: You can place these files next to your index.php file, and then they will be available from www.yourdomain.com/upup.min.js

Or, if you want to give it a specific subdirectory URL, you could create a special route that sends www.yourdomain.com/mysubfolder/upup.min.js to special controller method that loads real upup.min.js file contents and outputs it to browser as is, without adding any HTML via views.

I imagine you could also try creating real folders starting from index.php file, as typical .htaccess config for CodeIgniter only points "broken" links to index.php. I'm slightly sceptical of benefits doing it this way tho, as if you need show CI content at /subfolder1 but want to make /subfolder1/subfolder2/upup.min.js I'm 99% certain subfolder1 from .htaccess point of view is existing path, even if there are no index.html files in that folder.

Thanks for your reply but u see u said plenty tins now u lost me 
So pls provide a sample code show us how to implement  it laravel has a sample code codeigniter doesn't so pls provide one pls

Messages In This Thread
CI to progressive web app - by majortom84 - 05-21-2018, 02:34 PM
RE: CI to progressive web app - by Kennyendowed - 01-24-2019, 09:27 PM
RE: CI to progressive web app - by Pertti - 01-25-2019, 11:43 AM
RE: CI to progressive web app - by Kennyendowed - 01-26-2019, 09:54 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.