1.1.1-alpha.2 • Published 6 months ago
@pareto-engineering/generator-front v1.1.1-alpha.2
Generator-front (Yeoman
)
Yeoman is a client-side scaffolding tool for web applications. We use this to quickly scaffold a component, module, page and story.
Project Installation and Setup
# If you have configured the SSH protocol, use
$ git clone git@github.com:HelloPareto/generator-front.git
cd generator-front
npm install
Usage
- Install the
@pareto-engineering/generator-front
package globally$ npm i -g yo @pareto-engineering/generator-front # you might need an older version of yo
Navigate to the folder you want to scaffold either a component, story, module, or page
// For a component $ yo @pareto-engineering/front component [name] # this creates a folder with [name] as it's name with three files in it --> [name].jsx, index.js, styles.scss // For a story $ yo @pareto-engineering/front story [name] # this creates a [name].stories.jsx file --> A story captures the rendered state of a UI component and describes all the states a component can support // For a page $ yo @pareto-engineering/front page [name] # this creates a [name].jsx file // For a module $ yo @pareto-engineering/front module [name] # this creates a folder with [name] as it's name. The folder has urls.js and routes.js files, component and pages folders both having an index.js file
1.1.1-alpha.2
6 months ago
1.1.1-alpha.1
1 year ago
1.1.1-alpha.0
1 year ago
1.1.0
1 year ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
0.3.0
3 years ago
0.3.1
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.4
3 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.0.0
3 years ago