Code Monkey home page Code Monkey logo

stenciljs-in-vue-nuxt's Introduction

stenciljs-in-vue-nuxt monorepo

In the repo all the reusable Stenciljs Web Components are in the /shared-components folder and can be used by each invididual project in the /projects.


StencilJs version: ^2.0.3
vueJs version: ^2.6.11
NuxtJs version: ^2.14.6

Project setup

You need to install node, git and lerna locally. he project is based on Stenciljs, vue & nuxt.

Inside the /projects folder you can create a project in any lib/framework (Vue, React, Angular, ...) you want. For components reuability, don't forget to add the stencil-components-collection dependency with the command lerna add stencil-components-collection in order to create lernas's package symlink.

Check here how to add stencil web component to a vue project and to here to Nuxt respectively.

Run the project

lerna bootstrap
npm run start

It's as simple as that!

You can choose a choose static generation build only if your project is created entirely in StencilJs. If you want to prerender a web component you can check Dynamic Rendering from Google's recommendation here.

Links

stenciljs-in-vue-nuxt's People

Contributors

menepet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.