Skip to content
No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

dpd assets

compile assets on the server for every request... no need to run watch scripts.


In your projects root directory run

mkdir node_modules
npm install dpd-assets


After creating the instance from your dashboard, go into /my-project/resources/assets and create a less directory. Now any file in that directory will be compiled to CSS when requested from a browser.

For example

<link href="/assets/less/bootstrap.less" rel="stylesheet">

other files

As of 0.0.1 all other files will just pass through including JS, and images. In future versions, these assets will be compiled. You'll be able to configure how in the dashboard.

Something went wrong with that request. Please try again.