Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
fix(views): rename css to style
Browse files Browse the repository at this point in the history
• Updating require (`css` to `style`)
• Updating require paths to `/public/app` to render appropriately
• Updating babel packages
  • Loading branch information
richardtorres314 authored and thetutlage committed Mar 7, 2019
1 parent aca0a18 commit 980f69e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/03-frontend-assets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Require css file from `edge` templates.
[source, edge]
----
<head>
{{ css('app') }}
{{ style('/public/app') }}
</head>
----

Expand All @@ -123,7 +123,7 @@ NOTE: We use babel for ES6 to ES5 transpilation. Also *AdonisJs itself does not

[source, bash]
----
npm i --save-dev babel-loader babel-core babel-preset-env
npm i --save-dev babel-loader @babel/core @babel/preset-env
----

[source, js]
Expand Down Expand Up @@ -163,6 +163,6 @@ Require js file from `edge` templates.
[source, edge]
----
<head>
{{ script('app') }}
{{ script('/public/app') }}
</head>
----

0 comments on commit 980f69e

Please sign in to comment.