Empty panel ??

Hi,
How to install a blank panel, no modification needed?
Preferably only with authentication.
Of course, with the absolute minimum of dependency.
Laravel 9

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)

Hi,

There is no installation process for a blank page.

You can create a view in Laravel by simply creating a folder in resources/views, once you've created your blade.php file.

Simply add -

<x-base-layout>
Empty Page
</x-base-layout>

Now go to the routes folder in your app directory and add

Route::get("/page_title", function(){
return View::make("directionsto.page");
});

This will return just that view without having to setup a controller.

This was not what I wanted to achieve. I want to install the template on a clean Laravel install. I want to get rid of demo1 etc.

Hi,

I'm confused what you mean by install on a clean laravel project ,but you want to get rid of the demo1 etc.

Can you give more detail on this?

If you want to transfer the Metronic assets to a clean laravel project. You can use the laravel installation documentation and then just move all of the assets for the demo of your choice over to that project.

I don't want my template to be called demo1. I don't know what files you added or edited when creating the laravel package. I want to make the template itself, step by step. I want to keep the number of JS and CSS files to a minimum. Have I managed to explain my problem now?

Hi,

The term "demo" we used is for the name of different layouts and styles.
You have to customize the name.

You can remove the unused demo folders from the layout folder and assets folder.
resources/views/layout/demo*
resources/assets/demo*

If you need more clean assets. You have to create your own empty Laravel project, get the assets JS and CSS files only from the HTML version. Copy the HTML markup from the HTML version. This will more plain Laravel app without other unused PHP codes.

Thanks

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(