mirror of
https://github.com/wassname/template.git
synced 2026-09-11 12:51:52 +08:00
More work on perf: CSS contain etc.
This commit is contained in:
@@ -2,7 +2,11 @@ import { Template } from '../mixins/template';
|
||||
import { Controller } from '../controller';
|
||||
|
||||
const T = Template('d-article', `
|
||||
<style></style>
|
||||
<style>
|
||||
d-article {
|
||||
contain: content;
|
||||
}
|
||||
</style>
|
||||
`, false);
|
||||
|
||||
// export function addInferableTags(dom, frontMatter) {
|
||||
|
||||
Reference in New Issue
Block a user