Skip to content

Commit

Permalink
feat: render php tags as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Nov 4, 2024
1 parent b9c594f commit 5f15dcb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/posthtml/defaultComponentsConfig.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
export default {
root: './',
folders: ['src/components', 'src/layouts', 'src/templates'],
fileExtension: 'html',
tag: 'component',
fileExtension: 'html',
folders: ['src/components', 'src/layouts', 'src/templates'],
expressions: {
loopTags: ['each', 'for'],
missingLocal: '{local}',
strictMode: false,
},
parserOptions: {
directives: [
{ name: '?php', start: '<', end: '>' },
]
},
}

0 comments on commit 5f15dcb

Please sign in to comment.