I want to create and publish components using bit.dev with JavaScript. But when initialize a new workspace using bit new react (react is the template), the react template is generated with typescript. I want to use javascript instead. How to do it?
How to initialize bit.dev workspace with JavaScript
157 Views Asked by Nandanunni A S At
1
There are 1 best solutions below
Related Questions in BIT.DEV
- How to add a additional property in the overview tab of the bit dev mdx documentation for the components?
- Environment variables in bit.dev
- Bit.dev how to create scss component?
- Can Bit.dev support a mix of React and Angular Microfrontends?
- Bit compatible with Vue 2?
- Failed when install bit in Windows
- Is there a way to chain Envs in Bit?
- Installing dependencies for a Bit component that uses an env
- Dynamic classname component in bit dev
- Challenges with Bit.dev Setup on Windows: Facing 'Module not found' & 'Version not installed' Errors Despite Troubleshooting Efforts. Need Assistance
- Efficient Component Management in React using Bit.dev
- Unusual Behavior: Tailwind CSS Integration with Bit.dev Components in React Project
- Location where debug.log in Bit Builds
- Getting bvm: command not found
- How can I use Bit with Vitejs in React without getting 'defaultExports is not a function' error?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can do that by using the default react-env and the templates provided, but you can also create your own environment without Typescript and your own templates. I think that you can get by with the starting templates at the beginning without hussle, and then once you understand better environments and templating, create some of your own.
Steps to create a JS component from a template
Create an environment
now you can explore the available templates:
The output will be:
Create the JS component
So, now, we can use the react-js template:
The output will be:
Source: CLI Reference