Git Product home page Git Product logo

Comments (20)

budarin avatar budarin commented on May 20, 2024 1

from prejss.

BrRenat avatar BrRenat commented on May 20, 2024 1

Another problem. In example project and in my project on start:
Module not found: Error: Cannot resolve module 'prejss-postcss-parser' in projectroot\node_modules\prejss\lib
@ ./~/prejss/lib/index.js 16:27-59

from prejss.

BrRenat avatar BrRenat commented on May 20, 2024 1

@DenisIzmaylov well done! Everything works fine. But I did not check the postcss plugins yet. I think with it no problem. In JetBrains IDEA we can add //language=PostCSS for postcss highlighting and autocomplete.
Example styles.js

import preJSS from 'prejss'
import theme from 'theme'

//language=PostCSS
const styles = preJSS`
  button {
    background: ${theme.color.main};
  }
`

export default styles

from prejss.

BrRenat avatar BrRenat commented on May 20, 2024 1

@DenisIzmaylov yea))). Don't forget install postcss plugin in idea.
PHPStorm WebStorm 2016, 2017
image

from prejss.

BrRenat avatar BrRenat commented on May 20, 2024 1

@DenisIzmaylov Looks like I'm late, of course

from prejss.

budarin avatar budarin commented on May 20, 2024 1

standalone demo project works fine.
Thanks

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Thanks for your feedback!

Have you tried to run npm install in "basic" directory?

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Very interesting. So we'll try to fix it in next 2 days.

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Thanks for details. I'll try to review it in next two days. But feel free to make a PR. It's simple and fun!

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Another problem. In example project and in my project on start:
Module not found: Error: Cannot resolve module 'prejss-postcss-parser' in

@BrRenat Sorry for a bit delay. Just fixed it. Could you please try again?

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

@budarin, just checked for your issue. It seems everything is working correctly now. Could you please check up?

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Also I've just published example React.js application with PreJSS, have a joy:

from prejss.

budarin avatar budarin commented on May 20, 2024

default

There are some problems:

  • i have not found any mention about nodemon
  • commands are not cross operating system

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

That's truth. Thank you for your feedback. I've removed basic example:

It's not a good practice to keep large example in the same repo since we have to keep traction on each project separately.

Please try it:

This example already contains a mention about nodemon and uses cross-env.

Please give any feedback once you have success with that.

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

@BrRenat Omg. Really? Will it work? Could you please provide a screenshot from JetBrains IDEA?

import preJSS from 'prejss'
import theme from 'theme'

// language=PostCSS
const styles = preJSS`
  button {
    background: ${theme.color.main};
  }
`

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Wow! Really awesome. Could I use this screenshot for my talk on MoscowJS today?

from prejss.

BrRenat avatar BrRenat commented on May 20, 2024

node 6 not supported

Object.entries is not a function

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Anyway thanks :) BTW Should we support Node.js 6?

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

Is there any problems on this issue still exists which we have to fix/to do?

from prejss.

DenisIzmaylov avatar DenisIzmaylov commented on May 20, 2024

@budarin Thank you for your effort. Looking forward for your pull requests! 🎉

from prejss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.