Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is recommended way to install preact-cli dev version? #335

Closed
jojo05 opened this issue Aug 22, 2017 · 5 comments
Closed

what is recommended way to install preact-cli dev version? #335

jojo05 opened this issue Aug 22, 2017 · 5 comments

Comments

@jojo05
Copy link

jojo05 commented Aug 22, 2017

Does anybody recommend also having both version (latest release and dev version), so that new projects are created with either one ?

@reznord
Copy link
Member

reznord commented Aug 22, 2017

What do you mean? Can you clarify or elaborate more on what you want?

@jojo05
Copy link
Author

jojo05 commented Aug 22, 2017

I am using 1.4.1. I want to test the homepage PR, preact init, ... which are in the dev version ?
What do I do?

@developit
Copy link
Member

git clone git@github.com:developit/preact-cli.git
cd preact-cli
npm install

cd ../my-project
npm link ../preact-cli
npm start

@jojo05
Copy link
Author

jojo05 commented Aug 22, 2017

Great! thanks
I'll wait a bit more and then close the issue

@thangngoc89
Copy link
Collaborator

Yarn version:

git clone git@github.com:developit/preact-cli.git
cd preact-cli 
yarn install 
yarn link

cd ../my-project
yarn link preact-cli 
yarn start

Preact-cli folder can be anywhere with yarn

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants