I'm new to SAFE Network Development. how I create a base page and a navigation menu?


#1

I used cobalt/liquid to make my sites, but it looks like Vue is going to be the standard and I’m really confused by it.

Does this mean that atom is still the prefered editor?

Anyway, I’m trying to make a navbar.

The first thing I’m curious about is how to make a base page that will contain my navigation menu.
I’m sure most websites builders will be interested in that as well.


#2

lol who cares about Atom being preferred. React is the new one, Vue is kinda old in the valley now and frankly stick to the bleeding edge start ups with JS frameworks and use whatever damn text editor you like best (try them all) and in SAFE’s case learn NODE.js


#3

I like Sublime, not a site I have assembled has exploded for lack of that ugly cat-octopus


#4

not a site I have assembled has exploded for lack of that ugly cat-octopus

Next time you reply, please stay off the drugs.

Anyway, I’ve figured it out.

App.vue

<template>
  <div :class="$style.App">

    <NavBar />

  </div>
</template>

<script>
import NavBar from './components/NavBar.vue'
const safenetwork = require('./safenetwork.js');

export default {
  name: 'App',
  components: {
    NavBar
  },
  async created() {
    await safenetwork.authoriseAndConnect();
  }
}
</script>

<style module>
  .App {
    padding: 16px;
  }
</style>

And then copypaste the code from the following site:


#5

This topic was automatically closed after 60 days. New replies are no longer allowed.