Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ng-packagr #3

Open
cgatian opened this issue Sep 3, 2020 · 2 comments
Open

Support ng-packagr #3

cgatian opened this issue Sep 3, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@cgatian
Copy link

cgatian commented Sep 3, 2020

It would be great if this package also augmented ngPackagr when it became available

@cgatian
Copy link
Author

cgatian commented Sep 3, 2020

ng-packagr/ng-packagr#1471

@marcjulian marcjulian added the enhancement New feature or request label Nov 19, 2020
@pelx
Copy link

pelx commented Mar 13, 2021

Hi,
I tried to customize colors, but it doesnt work:

tailwind.config.js
**_`const colors = require("./node_modules/tailwindcss/colors");

module.exports = {
purge: [
"./src//*.html",
"./src/
/.ts",
"./src/**/
.css",
"./src//*.scss",
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
teal: colors.teal,
orange: colors.orange,
},
},
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/forms"),
require("@tailwindcss/line-clamp"),
require("@tailwindcss/typography"),
],
};`_

VSCode complanes on all requre stataments:
Could not find a declaration file for module '@tailwindcss/aspect-ratio'. 'c:/dev/_dev/tailwindcss-sev/node_modules/@tailwindcss/aspect-ratio/src/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/tailwindcss__aspect-ratioif it exists or add a new declaration (.d.ts) file containingdeclare module '@tailwindcss/aspect-ratio';ts(7016)

Please help.

regards

Laura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants