Update config to latest version in the phx templates
See https://github.com/phoenixframework/phoenix/commit/7ec73196b40b19738518a8b865ea1129bc997121
This commit is contained in:
@@ -73,6 +73,7 @@ module.exports = {
|
|||||||
matchComponents({
|
matchComponents({
|
||||||
"hero": ({ name, fullPath }) => {
|
"hero": ({ name, fullPath }) => {
|
||||||
let content = fs.readFileSync(fullPath).toString().replace(/\r?\n|\r/g, "")
|
let content = fs.readFileSync(fullPath).toString().replace(/\r?\n|\r/g, "")
|
||||||
|
content = encodeURIComponent(content)
|
||||||
let size = theme("spacing.6")
|
let size = theme("spacing.6")
|
||||||
if (name.endsWith("-mini")) {
|
if (name.endsWith("-mini")) {
|
||||||
size = theme("spacing.5")
|
size = theme("spacing.5")
|
||||||
|
|||||||
Reference in New Issue
Block a user