Skip to content

Commit

Permalink
Add support for vue template tags nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEdgesofBen committed Mar 5, 2023
1 parent 0b78b76 commit 88fe070
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Next
- Fix escaping from classes in MediaQuery classes
- Fix pseudo classes on shortcut and classes with value functions
- Diasable camelToDash for css vars
- Fix Escaping in selectors like :has
- General tests & escaping tests
NiceToHave
- Fix shortcuts with multiple dash values like roundness-0-0-24px-24px
Expand Down
2 changes: 1 addition & 1 deletion lib/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function getRawFilesClasses(opts) {
let filePath = filesPaths[fileContentIndex];

if (filePath.includes(".vue")) {
let tagContent = fileContent.match(/<template>([\s\S]*?)<\/template>/)[0];
let tagContent = fileContent.match(/<template>([\s\S]*?.*)<\/template>/s)[0];
let classTags = "";
let classValues = [];

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "combocss",
"version": "0.0.13",
"version": "0.0.14",
"description": "PostCSS plugin for leto",
"keywords": [
"conbocss",
Expand Down

0 comments on commit 88fe070

Please sign in to comment.