add font awesome
This commit is contained in:
parent
66cc11e9eb
commit
bde1cff7a4
@ -2,6 +2,12 @@
|
|||||||
@import "tailwindcss/components";
|
@import "tailwindcss/components";
|
||||||
@import "tailwindcss/utilities";
|
@import "tailwindcss/utilities";
|
||||||
|
|
||||||
|
$fa-font-path: "@fortawesome/fontawesome-free/webfonts";
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/regular";
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/solid";
|
||||||
|
@import "@fortawesome/fontawesome-free/scss/brands";
|
||||||
|
|
||||||
@import "components";
|
@import "components";
|
||||||
|
|
||||||
/* LiveView specific classes for your customizations */
|
/* LiveView specific classes for your customizations */
|
||||||
|
5443
assets/package-lock.json
generated
5443
assets/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,9 @@
|
|||||||
"watch": "webpack --mode development --watch --watch-options-stdin"
|
"watch": "webpack --mode development --watch --watch-options-stdin"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
|
"install": "^0.13.0",
|
||||||
|
"npm": "^7.22.0",
|
||||||
"phoenix": "file:../deps/phoenix",
|
"phoenix": "file:../deps/phoenix",
|
||||||
"phoenix_html": "file:../deps/phoenix_html",
|
"phoenix_html": "file:../deps/phoenix_html",
|
||||||
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
"phoenix_live_view": "file:../deps/phoenix_live_view",
|
||||||
@ -20,6 +23,7 @@
|
|||||||
"copy-webpack-plugin": "^9.0.0",
|
"copy-webpack-plugin": "^9.0.0",
|
||||||
"css-loader": "^5.2.7",
|
"css-loader": "^5.2.7",
|
||||||
"css-minimizer-webpack-plugin": "^3.0.1",
|
"css-minimizer-webpack-plugin": "^3.0.1",
|
||||||
|
"file-loader": "^6.2.0",
|
||||||
"hard-source-webpack-plugin": "^0.13.1",
|
"hard-source-webpack-plugin": "^0.13.1",
|
||||||
"mini-css-extract-plugin": "^1.6.0",
|
"mini-css-extract-plugin": "^1.6.0",
|
||||||
"node-sass": "^6.0.0",
|
"node-sass": "^6.0.0",
|
||||||
|
@ -41,6 +41,14 @@ module.exports = (env, options) => {
|
|||||||
"postcss-loader",
|
"postcss-loader",
|
||||||
"sass-loader",
|
"sass-loader",
|
||||||
],
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
|
loader: 'file-loader',
|
||||||
|
options: {
|
||||||
|
name: '[name].[ext]?[hash]',
|
||||||
|
outputPath: '../fonts'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
1047
assets/yarn.lock
1047
assets/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -20,5 +20,5 @@ defmodule LokalWeb.Gettext do
|
|||||||
|
|
||||||
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
|
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
|
||||||
"""
|
"""
|
||||||
use Gettext, otp_app: :lokal
|
# use Gettext, otp_app: :lokal
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user