1.1.3 • Published 3 years ago

@fujia/frontend-practice-template v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Talk is cheap, Show me the code.

Getting started

At first, you can install the cli tools by following commands:

npm i -g @fujia/cli-core

# or using yarn
yarn global add @fujia/cli-core

then, to initial a project with the template via above cli tools:

# step1. create project folder
mkdir [project name]; cd $_;

# step2. initial project via the template
stage init

# step3. select "custom" option.

# step4. input the template info.

# if we want to add custom template, e.g.

# ? Please select the template type: custom
# ? there is no custom template, whether to create one now: Yes
# ? please input template name: frontend-practice
# ? please input the template corresponding package name: @fujia/frontend-practice-template
# ? please input the template version: latest
# ? please input template install command: yarn
# ? please input template start command: npm run dev

of course, if you don't want to install @fujia/cli-core in global scope, it can initial a project quickly by following commands:

# step1. create project folder
mkdir [project name]; cd $_;

# step2. initial project via the template
npm init stage@latest

# the other steps follow above.

That's all, the project will install the dependencies and devDependencies, then running automatically.

Starting Development

  1. Start the app in the dev environment:
npm run dev

Maintainers

License

MIT © frontend-practice-template

1.1.1

3 years ago

1.1.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.2.0

3 years ago