notiz-dev / design Goto Github PK
View Code? Open in Web Editor NEWDesign for notiz.dev
Design for notiz.dev
ng-packagr/ng-packagr#1471 ng packagr needs to support postcss, otherwise styles in .scss files using @apply
are not replaced with the actual values.
@garygrossgarten do you want to use the tabs layout for notiz.dev?
If so should we think about the actions in the tabs layout
Should we publish the npm lib to GitHub Packages? Then it is available direct from the repo https://github.com/notiz-dev/design/packages
@garygrossgarten what do you think?
Building Angular Package
******************************************************************************
It is not recommended to publish Ivy libraries to NPM repositories.
Read more here: https://v9.angular.io/guide/ivy#maintaining-library-compatibility
******************************************************************************
------------------------------------------------------------------------------
Building entry point '@notiz/ngx-design'
------------------------------------------------------------------------------
Compiling TypeScript sources through ngc
ERROR: Can't find stylesheet to import.
╷
1 │ @import 'tailwindcss/base';
│ ^^^^^^^^^^^^^^^^^^
╵
projects/components/src/lib/tabs/tabs.component.scss 1:9 root stylesheet
An unhandled exception occurred: Can't find stylesheet to import.
╷
1 │ @import 'tailwindcss/base';
│ ^^^^^^^^^^^^^^^^^^
╵
projects/components/src/lib/tabs/tabs.component.scss 1:9 root stylesheet
See "/private/var/folders/qd/00tjl6n94qv3q1z_1hm4svx00000gn/T/ng-JD1eN4/angular-errors.log" for further details.
Tailwindcss is not available for build.
I tried to use the custom-webpack build for the components:
"components": {
"projectType": "library",
"root": "projects/components",
"sourceRoot": "projects/components/src",
"prefix": "niz",
"architect": {
"build": {
- "builder": "@angular-devkit/build-ng-packagr:build",
+ "builder": "@angular-builders/custom-webpack:browser",
"options": {
+ "customWebpackConfig": {
+ "path": "./webpack.config.dev.js"
+ },
"tsConfig": "projects/components/tsconfig.lib.json",
"project": "projects/components/ng-package.json"
},
But @angular-builders/custom-webpack
does not support --project
(Error: Unknown option: '--project') and also the library project is bundled using ng-packagr
which does not support webpack just-jeb/angular-builders#356.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.