Support presets
See original GitHub issueWe have a config that is used in multiple projects and we want to use the presets functionality.
Here is an example of the config, I declare it in one file for testing:
const presetExample = {
theme: {
fontFamily: {
sans:
'Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif',
},
colors: COLORS,
borderRadius: BORDER_RADIUS,
boxShadow: SHADOW,
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities(TYPOGRAPHY);
addUtilities(BACKGROUND);
}),
],
};
export default defineConfig({
presets: [presetExample]
});
Then in vscode it shows an error:
and the error log:
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (15 by maintainers)
Top Results From Across the Web
Preset Support
Browse our in depth docs to help you get the most out of Preset Cloud or submit a support ticket.
Read more >When trying to configure presets for the “create f... - 4013882
when trying to configure presets for the "create from scanner " option, the following occurs: We are unable to scan from the document...
Read more >FIX: Adobe scanner doesn't support presets - Windows Report
If the Adobe Scanner states that it does not support presets, check our guide with simple solutions in order to fix this error....
Read more >Error: Does not support presets - Acrobat Answers
After reinstalling Adobe on a different computer with a different scanner, I can no longer use "Create>PDF from scanner>Black&White Document". Custom.
Read more >Support Center - Visual Flow Presets
How may we help you? ; 01 - Visual Flow FAQs · 01. General FAQs · 02. What are Dual Illuminant Profiles? ;...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this is the issue, have to wait for @antfu let me know how we can call
defineConfig
convert@alexanderniebuhr looked at the stack trace, it does not seem be the reason of using
defineConfig