-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # package.json
- Loading branch information
Showing
64 changed files
with
35,649 additions
and
2,687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# local env files | ||
.env.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,34 @@ | ||
# Craft UI | ||
|
||
## Project setup | ||
``` | ||
npm install | ||
``` | ||
## Introduction | ||
This is a collection of components and styles meant to be used across Craft apps and websites. | ||
|
||
## Storybook | ||
## Development | ||
|
||
Storybook showcases the Craft UI components. | ||
To get started for the development of the Craft UI library or the docs, run this command: | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
npm run serve:storybook | ||
npm install | ||
``` | ||
|
||
### Compiles and minifies for production | ||
### Library | ||
|
||
Build the umd, es, cjs, umd-min versions of Craft UI: | ||
|
||
``` | ||
npm run build:storybook | ||
npm run build | ||
``` | ||
|
||
## App | ||
|
||
The App is an example project using Craft UI components. | ||
### Docs | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
npm run serve:app | ||
``` | ||
Storybook showcases the Craft UI components. | ||
|
||
### Compiles and minifies for production | ||
#### Compile and hot-reload for development | ||
``` | ||
npm run build:app | ||
npm run serve:docs | ||
``` | ||
|
||
### Lints and fixes files | ||
#### Compile and minify for production | ||
``` | ||
npm run lint:app | ||
npm run build:docs | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
input: './src/index.js', | ||
moduleName: 'CraftUi', | ||
exports: 'named', | ||
format: 'umd,es,cjs,umd-min', | ||
postcss: { | ||
extract: true, | ||
plugins: [ | ||
require('tailwindcss')('./tailwind.config.js'), | ||
] | ||
}, | ||
plugins: [ | ||
"babel", | ||
require("rollup-plugin-vue")({ | ||
css: false, | ||
}), | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.