forked from LeaVerou/css3patterns
-
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.
- Loading branch information
Showing
24 changed files
with
53 additions
and
1,828 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -17,6 +17,7 @@ log.txt | |
.vscode/ | ||
.sass-cache/ | ||
.versions/ | ||
.vs/ | ||
node_modules/ | ||
$RECYCLE.BIN/ | ||
|
||
|
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,4 +1,47 @@ | ||
# CSS3 Patterns | ||
 | ||
|
||
The original collection of CSS3 patterns, est. 2010! | ||
Originally at http://lea.verou.me/css3patterns/ now on Github Pages. | ||
# CSS Pattern Web Component | ||
|
||
|
||
|
||
## Development | ||
|
||
run: | ||
|
||
```bash | ||
npm install | ||
npm start | ||
``` | ||
|
||
To build the component for production, run: | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
To run the unit tests for the components, run: | ||
|
||
```bash | ||
npm test | ||
``` | ||
|
||
Need help? Check out our docs [here](https://stenciljs.com/docs/my-first-component). | ||
|
||
|
||
## Using this component | ||
|
||
### Script tag | ||
|
||
- [Publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages) | ||
- Put a script tag similar to this `<script src='https://unpkg.com/[email protected]/dist/mycomponent.js'></script>` in the head of your index.html | ||
- Then you can use the element anywhere in your template, JSX, html etc | ||
|
||
### Node Modules | ||
- Run `npm install my-component --save` | ||
- Put a script tag similar to this `<script src='node_modules/my-component/dist/mycomponent.js'></script>` in the head of your index.html | ||
- Then you can use the element anywhere in your template, JSX, html etc | ||
|
||
### In a stencil-starter app | ||
- Run `npm install my-component --save` | ||
- Add an import to the npm packages `import my-component;` | ||
- Then you can use the element anywhere in your template, JSX, html etc |
971 changes: 0 additions & 971 deletions
971
css3pattern/.vs/css3pattern/config/applicationhost.config
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.