https://github.com/devtin/rueda
https://github.com/devtin/rueda
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devtin/rueda
- Owner: devtin
- Created: 2019-05-08T21:37:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T02:39:23.000Z (about 6 years ago)
- Last Synced: 2025-03-01T02:48:05.471Z (about 1 year ago)
- Language: HTML
- Size: 2.55 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting started
Install [node.js](https://nodejs.org) then install project dependencies:
```sh
$ npm install
```
or if using [yarn](https://yarnpkg.com) (suggested)
```sh
$ yarn
```
# Replacing svg
- Replace only the `` tag.
- Add `.svg` class to the `` element: ``
- Move all styles inside the `` element to `style.scss` file. Remove any old styles references to the `` element.
- Make sure clickable paths have their element class accordingly as below:
```
```
# Build JS
Edit *.src.js files, then just:
```sh
$ yarn build:js
```
# Build CSS
Edit *.scss files, the `$ yarn build:css`
# Developing mode
- Live build the css as you develop by running `$ yarn build:css:live`
- Live build the js as you develop by running `$ yarn build:js:live`
- Open dev server `$ yarn dev` (localhost:4000). Look at the [package.json](./package.json) file.